Dundas Chart for ASP.NET
Point3D Class
Members  See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace : Point3D Class


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.

Syntax

Visual Basic (Declaration)  
Public Class Point3D 
Visual Basic (Usage) Copy Code
Dim instance As Point3D
C#  
public class Point3D 

Remarks

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 ChartGraphicsobject.

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.

Inheritance Hierarchy

System.Object
   Dundas.Charting.WebControl.Point3D

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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.