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


This class provides the functionality for 3D attributes of chart areas.


ChartArea3DStyleClass class represents chart area 3D settings like totation angles, perspective and others.

Syntax

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

Remarks

This class provides the style for 3D chart areas, and is exposed using the ChartArea.Area3DStyle property.

To enable 3D for a chart area (which is applied to all data series drawn in a chart area) set the Enable3D property to true.

An isometric projection of a chart area can be displayed by setting the RightAngleAxes property to true (the default). Isometric views are not "true" 3D since the displayed angles of rotation may not match the actual angles of rotation around the vertical and horizontal axes (controlled using the YAngle and XAngle properties, respectively).

Please note the following points concerning isometric projection:

  • it is not "real" 3D (i.e. the angle of rotation around axes doesn't use true rotational angles).
  • it is ideal for displaying 3D charts with some depth.
  • if your application allows end-users to rotate the charts then the rotation will not be smooth. In this case we do not recommend using isometric views.
  • with isometric projection perspective is not supported.

Using this class you can also:

  • cluster bar and column chart data series using the Clustered property.
  • control the lighting effects using the Light property.
  • set the width of chart area walls using the WallWidth property.
  • set the amount of perspective with the Perspective property.
  • control the depth of data points and the distance between data rows using the PointDepth and PointGapDepth properties, respectively.
  • rotate a chart area using the XAngle and YAngle properties.

To work with coordinates of 3D points use the Point3D class.

Inheritance Hierarchy

System.Object
   Dundas.Charting.WinControl.ChartArea3DStyle

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.