Skip to main content

PieSeries3D.DepthTransform Property

Gets or sets a value specifiying how the depth of the 3D Pie (Donut) series is transformed.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v23.1.dll

NuGet Package: DevExpress.Wpf.Charts


public double DepthTransform { get; set; }

Property Value

Type Description

A Double value.


The following example demonstrates how to create a 3D Pie chart. To do this, it is necessary to assign the ChartControl.Diagram property to SimpleDiagram3D, and then add a PieSeries3D object with points to the diagram’s Diagram.Series collection.

View Example

<Window x:Class="PieDonut3DChart.Window1" xmlns="" xmlns:x="" xmlns:dxc="" Title="Window1" Height="350" Width="500">
        <dxc:ChartControl Name="chartControl1">
                        <dxc:PieSeries3D HoleRadiusPercent="0" DepthTransform="0.5">
                                <dxc:SeriesPoint Argument="A" Value="10" />
                                <dxc:SeriesPoint Argument="B" Value="12" />
                                <dxc:SeriesPoint Argument="C" Value="14" />
                                <dxc:SeriesPoint Argument="D" Value="17" />
                            <!--region #Model-->
                                <dxc:SemiRoundedRectanglePie3DModel />
                            <!--endregion #Model-->
                                        <dxc:NumericOptions Format="Percent" Precision="0" />

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


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.

See Also