Gets or sets the X coordinate of an annotation.
Visual Basic (Declaration) | |
---|---|
Public Overridable Property X As Double |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual double X {get; set;} |
Return Value
A Double value that represents an annotation position's X coordinate.
A Double value that represents an annotation position's X coordinate.
The X coordinate of an annotation is in relative chart coordinates or axes coordinates. Chart relative coordinates are used by default.
To use axes coordinates anchor an annotation to a data point using the AnchorDataPoint property, or set the annotation axes using the AxisX or AxisY properties.
Set the X position to Double.NaN ("NotSet") to achieve automatic position calculation when the annotation is anchored using the AnchorDataPoint property or the AnchorX and AnchorY properties.
The X coordinate of an annotation is in relative chart coordinates or axes coordinates. Chart relative coordinates are used by default.
To use axes coordinates anchor an annotation to a data point using the AnchorDataPoint property, or set the annotation axes using the AxisX or AxisY properties.
Set the X position to Double.NaN ("NotSet") to achieve automatic position calculation when the annotation is anchored using the AnchorDataPoint property or the AnchorX and AnchorY properties.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family