Back to Devexpress

Area3DSeriesView.AreaWidth Property

corelibraries-devexpress-dot-xtracharts-dot-area3dseriesview-97b8ee09.md

latest3.0 KB
Original Source

Area3DSeriesView.AreaWidth Property

Gets or sets the depth of a slice that represents the 3D area series (the extent of the area series along the Z-axis).

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
[XtraChartsLocalizableCategory(XtraChartsCategory.Layout)]
public double AreaWidth { get; set; }
vb
<XtraChartsLocalizableCategory(XtraChartsCategory.Layout)>
Public Property AreaWidth As Double

Property Value

TypeDescription
Double

A Doublevalue (measured in fractions of Z-axis units). This value should be greater than 0.

|

Remarks

The default value is 0.6.

The illustration shows two series with AreaWidth value set to 2.0 for the Series 1 and left default (0.6) for Series 2.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AreaWidth property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-chart-create-a-3d-stacked-area-chart/CS/Series_3DStackedAreaChart/Form1.cs#L36

csharp
// Adjust the view-type-specific options of the series.
((StackedArea3DSeriesView)series1.View).AreaWidth = 4;
((StackedArea3DSeriesView)series2.View).AreaWidth = 3;

winforms-chart-create-a-3d-stacked-area-chart/VB/Series_3DStackedAreaChart/Form1.vb#L33

vb
' Adjust the view-type-specific options of the series.
CType(series1.View, StackedArea3DSeriesView).AreaWidth = 4
CType(series2.View, StackedArea3DSeriesView).AreaWidth = 3

See Also

Area3DSeriesView Class

Area3DSeriesView Members

DevExpress.XtraCharts Namespace