PolarLineSeries2D Class
The Polar Line series.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v24.1.dll
NuGet Package: DevExpress.Wpf.Charts
Declaration
Remarks
The PolarLineSeries2D class provides the functionality of a series view of the Polar Line type within a chart control.
For more information on series views of the Polar Line type, please see the Polar Line topic.
Example
The following example demonstrates how to create a 2D Polar Line chart.
To do this, it is necessary to assign the ChartControl.Diagram property to PolarDiagram2D, and then add a PolarLineSeries2D
object with points to the polar diagram Diagram.Series collection.
<Window x:Class="PolarLineSeries2D.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:dxc="http://schemas.devexpress.com/winfx/2008/xaml/charts"
Title="MainWindow" Height="350" Width="525" >
<Grid>
<dxc:ChartControl>
<dxc:ChartControl.Diagram>
<dxc:PolarDiagram2D>
<dxc:PolarDiagram2D.Series>
<dxc:PolarLineSeries2D MarkerVisible="False">
<dxc:PolarLineSeries2D.Points>
<dxc:SeriesPoint Argument="0" Value="400.0"/>
<dxc:SeriesPoint Argument="15" Value="386.37"/>
<dxc:SeriesPoint Argument="30" Value="346.41"/>
<dxc:SeriesPoint Argument="45" Value="282.84"/>
<dxc:SeriesPoint Argument="60" Value="200"/>
<dxc:SeriesPoint Argument="75" Value="103.53"/>
<dxc:SeriesPoint Argument="90" Value="0"/>
<dxc:SeriesPoint Argument="105" Value="-103.53"/>
<dxc:SeriesPoint Argument="120" Value="-200.0"/>
<dxc:SeriesPoint Argument="135" Value="-284.84"/>
<dxc:SeriesPoint Argument="150" Value="-346.41"/>
<dxc:SeriesPoint Argument="165" Value="-386.37"/>
<dxc:SeriesPoint Argument="180" Value="-400.0"/>
<dxc:SeriesPoint Argument="195" Value="-386.37"/>
<dxc:SeriesPoint Argument="210" Value="-346.41"/>
<dxc:SeriesPoint Argument="225" Value="-282.84"/>
<dxc:SeriesPoint Argument="240" Value="-200.0"/>
<dxc:SeriesPoint Argument="255" Value="-103.53"/>
<dxc:SeriesPoint Argument="270" Value="0"/>
<dxc:SeriesPoint Argument="285" Value="103.53"/>
<dxc:SeriesPoint Argument="300" Value="200.0"/>
<dxc:SeriesPoint Argument="315" Value="284.84"/>
<dxc:SeriesPoint Argument="330" Value="346.41"/>
<dxc:SeriesPoint Argument="345" Value="386.37"/>
<dxc:SeriesPoint Argument="360" Value="400.0"/>
</dxc:PolarLineSeries2D.Points>
</dxc:PolarLineSeries2D>
</dxc:PolarDiagram2D.Series>
</dxc:PolarDiagram2D>
</dxc:ChartControl.Diagram>
</dxc:ChartControl>
</Grid>
</Window>
Implements
Inheritance
See Also