Skip to main content

How to: Create a 3D Area Chart

  • 2 minutes to read

The following example demonstrates how to create a 3D Area chart. To do this, it is necessary to assign the ChartControl.Diagram property to XYDiagram3D, and then add two AreaSeries3D objects with points to the diagram’s Diagram.Series collection.

View Example

<Window x:Class="Area3DChart.Window1" xmlns="" xmlns:x="" xmlns:dxc="" Title="Window1" Height="350" Width="500">
        <dxc:ChartControl Name="chartControl1">
                        <!--region #Series1-->
                        <dxc:AreaSeries3D AreaWidth="0.7">
                                <dxc:SeriesPoint Argument="A" Value="10" />
                                <dxc:SeriesPoint Argument="B" Value="12" />
                                <dxc:SeriesPoint Argument="C" Value="14" />
                                <dxc:SeriesPoint Argument="D" Value="17" />
                        <!--endregion #Series1-->
                        <!--region #Series2-->
                        <dxc:AreaSeries3D AreaWidth="0.7">
                                <dxc:SeriesPoint Argument="A" Value="5" />
                                <dxc:SeriesPoint Argument="B" Value="4" />
                                <dxc:SeriesPoint Argument="C" Value="10" />
                                <dxc:SeriesPoint Argument="D" Value="12" />
                        <!--endregion #Series2-->