ChartArea::GetSeriesDepth Method
Returns the depth of a Series in a chart area.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
Parameters
- series
- Type: System.Web.UI.DataVisualization.Charting::Series
The Series for which the depth is retrieved.
Return Value
Type: System::SingleA float value that represents the depth of the specified Series, which is measured as a percentage of the chart area's depth.
Call this method to get the depth of a specified series. The returned value is measured as a percentage of the chart area's depth, which is the same unit of measurement used in the Z property.
All series have a depth, regardless of their chart type. For example, even point and bubble series have a depth, even though the entire depth is not used to draw the points or bubbles.
The depth of a series can be used to determine a Z value for a point that is used in a custom drawing routine.
Note |
|---|
Any points used in custom 3D drawing must be transformed from relative 3D coordinates to relative 2D coordinates using the TransformPoints method. |
To get relative X and Y-values from an axis, use the ValueToPosition method for both the X and Y axes.
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.
Note