Element X position
Visual Basic (Declaration) | |
---|---|
Public Property X As Single |
Visual Basic (Usage) | Copy Code |
---|---|
|
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.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.
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