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


Gets or sets the relative x-coordinate of the top-left corner of an applicable chart element.
Element X position

Syntax

Visual Basic (Declaration)  
Public Property X As Single
Visual Basic (Usage) Copy Code
Dim instance As ElementPosition
Dim value As Single
 
instance.X = value
 
value = instance.X
C#  
public float X {get; set;}

Return Value

A value that represents the x-coordinate of the top-left corner of an applicable chart element.

Remarks

The X property is always in relative coordinates, and is either relative to a ChartArea object if plotted within a chart area, or relative to the entire chart picture if plotted outside of a chart area element.

Always uses relative coordinates.  Setting a value outside of the 0-100 pixel range will result in an exception being thrown.

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.