Export (0) Print
Expand All

ChartArea3DStyle Class

Manages the display attributes for three-dimensional (3D) chart areas.

System.Object
  System.Web.UI.DataVisualization.Charting.ChartArea3DStyle

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public class ChartArea3DStyle

The ChartArea3DStyle type exposes the following members.

  NameDescription
Public methodChartArea3DStyle()Initializes a new instance of the ChartArea3DStyle class.
Public methodChartArea3DStyle(ChartArea)Initializes a new instance of the ChartArea3DStyle class using the chartArea parameter.
Top

  NameDescription
Public propertyEnable3DGets or sets a flag that toggles the 3D on and off for a chart area.
Public propertyInclinationGets or sets the angle of rotation around the horizontal axes for 3D chart areas.
Public propertyIsClusteredGets or sets a flag that determines whether data series for a bar or column chart are clustered; that is, displayed along distinct rows.
Public propertyIsRightAngleAxesGets or sets a flag that determines whether a chart area is displayed using an isometric projection.
Public propertyLightStyleGets or sets the type of lighting for a 3D chart area.
Public propertyPerspectiveGets or sets the percent of perspective for a 3D chart area.
Public propertyPointDepthGets or sets the depth of data points displayed in a 3D chart area.
Public propertyPointGapDepthGets or sets the distance between series rows in a 3D chart area.
Public propertyRotationGets or sets the angle of rotation around the vertical axes for 3D chart areas.
Public propertyWallWidthGets or sets the width of the walls displayed in a 3D chart area.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

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

To enable 3D for a chart area, set the Enable3D property to true. This causes 3D to be applied to all data series drawn in a chart area.

An isometric projection of a chart area can be displayed by setting the IsRightAngleAxes property to true, which is the default. Isometric views are not actually 3D, because the displayed angles of rotation may not match the actual angles of rotation around the vertical and horizontal axes. The actual angles are controlled using the Rotation and Inclination properties, respectively.

For more information about isometric projections, see the Remarks section of the IsRightAngleAxes property.

You can also use this class to:

  • Cluster bar and column chart data series using the IsClustered property.

  • Control the lighting effects using the LightStyle 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 Inclination and Rotation properties.

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

When a chart is set to 3D, the following chart features are not valid:

  • Scale breaks

  • Gradients

  • Scrolling and zooming

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft