ChartArea3DStyle Class
Collapse the table of content
Expand the table of content

ChartArea3DStyle Class

.NET Framework 4.6 and 4.5

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

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


public class ChartArea3DStyle


Initializes a new instance of the ChartArea3DStyle class.


Initializes a new instance of the ChartArea3DStyle class using the chartArea parameter.


Gets or sets a value that indicates whether the flag toggles the 3D on and off for a chart area.


Gets or sets the angle of rotation around the horizontal axes for 3D chart areas.


Gets or sets a flag that determines whether data series for a bar or column chart are clustered; that is, displayed along distinct rows.


Gets or sets a flag that determines whether a chart area is displayed using an isometric projection.


Gets or sets the type of lighting for a 3D chart area.


Gets or sets the percent of perspective for a 3D chart area.


Gets or sets the depth of data points displayed in a 3D chart area.


Gets or sets the distance between series rows in a 3D chart area.


Gets or sets the angle of rotation around the vertical axes for 3D chart areas.


Gets or sets the width of the walls displayed in a 3D chart area.


Determines whether the specified object is equal to the current object.(Inherited from Object.)


Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)


Serves as the default hash function. (Inherited from Object.)


Gets the Type of the current instance.(Inherited from Object.)


Creates a shallow copy of the current Object.(Inherited from Object.)


Returns a string that represents the current object.(Inherited from Object.)

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
Available since 4.0

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

Return to top
© 2015 Microsoft