This documentation is archived and is not being maintained.

DataPointCustomProperties.AxisLabel Property

Gets or sets the text of the X-axis label for the data point, series or an empty point. This property is only used if a custom label has not been specified for the relevant Axis object.

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

[BindableAttribute(true)]
[PersistenceModeAttribute(PersistenceMode.Attribute)]
public virtual string AxisLabel { get; set; }

Property Value

Type: System.String
A string value that represents the text of the X-axis label.

This property can only be set at run time for a Series object. If you set this property or a Series object, all of its data points will use this label.

If the AxisLabel property is not set and a custom label has not been specified, an axis label will be generated automatically using the axis scale.

Empty point labels are set using the EmptyPointStyle property.

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: