Dundas Chart for Windows Forms
X Property
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > Annotation Class : X Property


Enterprise Only Feature. Gets or sets the X coordinate of an annotation.
Gets or sets the X coordinate of an annotation.

Syntax

Visual Basic (Declaration)  
Public Overridable Property X As Double
Visual Basic (Usage) Copy Code
Dim instance As Annotation
Dim value As Double
 
instance.X = value
 
value = instance.X
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.

Remarks

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.

Requirements

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

See Also

© 2009 All Rights Reserved.