Redigera

Dela via


DataPointCustomProperties.AxisLabel Property

Definition

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.

public:
 virtual property System::String ^ AxisLabel { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public virtual string AxisLabel { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.AxisLabel : string with get, set
Public Overridable Property AxisLabel As String

Property Value

The text of the X-axis label.

Attributes

Remarks

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.

Applies to