Annotation.AxisX Property


Gets or sets the X axis to which an annotation is attached.

 virtual property System::Web::UI::DataVisualization::Charting::Axis ^ AxisX { System::Web::UI::DataVisualization::Charting::Axis ^ get(); void set(System::Web::UI::DataVisualization::Charting::Axis ^ value); };
public virtual System.Web.UI.DataVisualization.Charting.Axis AxisX { get; set; }
member this.AxisX : System.Web.UI.DataVisualization.Charting.Axis with get, set
Public Overridable Property AxisX As Axis

Property Value


An Axis object to which the annotation is attached.



When an annotation is attached to an axis, its X position is always specified in axes coordinates. To also define the size of an annotation in axes coordinates, make sure the IsSizeAlwaysRelative property is set to false.

Set this value to null to disable attachment to the axis.

Applies to