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

ChartArea3DStyle Class

.NET Framework (current version)
 

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)

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

public class ChartArea3DStyle

NameDescription
System_CAPS_pubmethodChartArea3DStyle()

Initializes a new instance of the ChartArea3DStyle class.

System_CAPS_pubmethodChartArea3DStyle(ChartArea)

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

NameDescription
System_CAPS_pubpropertyEnable3D

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

System_CAPS_pubpropertyInclination

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

System_CAPS_pubpropertyIsClustered

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

System_CAPS_pubpropertyIsRightAngleAxes

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

System_CAPS_pubpropertyLightStyle

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

System_CAPS_pubpropertyPerspective

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

System_CAPS_pubpropertyPointDepth

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

System_CAPS_pubpropertyPointGapDepth

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

System_CAPS_pubpropertyRotation

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

System_CAPS_pubpropertyWallWidth

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

NameDescription
System_CAPS_pubmethodEquals(Object)

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

System_CAPS_protmethodFinalize()

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

System_CAPS_pubmethodGetHashCode()

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

System_CAPS_pubmethodGetType()

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

System_CAPS_protmethodMemberwiseClone()

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

System_CAPS_pubmethodToString()

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
Show:
© 2016 Microsoft