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


Gets or sets the Y coordinate of a 3D point.


Y coordinate of the point.

Syntax

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

Return Value

The Y coordinate of a 3D point.

Remarks

Any point used in custom 3D drawing (accomplished using GDI+) must be transformed from X, Y and Z (3D) coordinates into X and Y (2D) coordinates using the TransformPoints method. This method takes an array of Point3D objects for its one parameter, and by calling TransformPoints the X and Y property values are changed to reflect the 3-dimensional space.

These new X and Y coordinates are then changed to absolute coordinates (e.g. using the GetAbsolutePoint method of a ChartGraphics object) and then used for GDI+ method calls. For more information see the "Custom Drawing Section" in the Working with 3D Charts  topic.

A relative Y coordinate can be obtained from an axis value using the ValueToPosition method of the Axis class.

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.