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


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

Syntax

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

Return Value

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

Remarks

The Y 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, and 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.