Visual Basic (Declaration) | |
---|---|
<TypeConverterAttribute("Dundas.Charting.WebControl.Design.DoubleNanValueConverter, Dundas.SharePoint.Charting.WebParts, Version=2.5.0.0, Culture=neutral, PublicKeyToken=fab2f7696049aaca")> <RefreshPropertiesAttribute()> <CategoryAttribute("Position")> <DefaultValueAttribute()> <DescriptionAttribute("Gets or sets the X coordinate of the annotation. Set to Double.NaN ("NotSet") to achieve automatic positioning of an anchored annotation.")> Public Overridable Property X As Double |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[TypeConverterAttribute("Dundas.Charting.WebControl.Design.DoubleNanValueConverter, Dundas.SharePoint.Charting.WebParts, Version=2.5.0.0, Culture=neutral, PublicKeyToken=fab2f7696049aaca")] [RefreshPropertiesAttribute()] [CategoryAttribute("Position")] [DefaultValueAttribute()] [DescriptionAttribute("Gets or sets the X coordinate of the annotation. Set to Double.NaN ("NotSet") to achieve automatic positioning of an anchored annotation.")] public virtual double X {get; set;} |
Return Value
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.
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