Represents the coordinates of a 3D data point, and is used when performing custom drawing with 3D charts.
Point3D class represent point coordinates in 3D space.
Visual Basic (Declaration) | |
---|---|
Public Class Point3D |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class Point3D |
The Point3D class represents the coordinates of a 3D data point.
Any point used in custom 3D drawing (accomplished using GDI+) must be transformed from relative X, Y and Z (3D) coordinates into relative X and Y (2D) coordinates using the TransformPoints method. By calling TransformPoints the X and Y-values of the Point3D objects are changed so that they reflect the 3-dimensional space. The new X and Y points can then be used for GDI+ method calls (the Z value is then disregarded) after being changed to absolute pixel coordinates using the GetAbsolutePoint method of a ChartGraphics object.
Note that the Z coordinate may be less than zero (behind a chart area) or greater than 100 (in front of a chart area).
To enable 3D charts as well as working with their style use the ChartArea.Area3DStyle property (i.e. Point3D is not used for 3D styles).
For more information see the "Custom Drawing Section" in the Working with 3D Charts topic.
System.Object
Dundas.Charting.WinControl.Point3D
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