Radar Spline Area Series
Overview
When using RadarSplineAreaSeries the data points are connected with smooth line segments that enclose an area that may be optionally stroked and/or filled as shown on the image below:
Properties
RadarSplineAreaSeries class inherits from the RadarAreaSeries class - See the inherited properties.
Example
Here's an example of how to create a RadCartesianChart using RadarSplineAreaSeries:
-
First, create a class for the sample data:
public class Data { public double Value { get; set; } public double Category { get; set; } }
-
Then create the sample data:
List<Data> data = new List<Data>(); for (double i = 1; i < 30; i += 1) { data.Add(new Data() { Category = i, Value = ((0.7) * Math.Cos(20 * i)) }); } this.polarChart.DataContext = data;
-
Finally, create the chart in XAML.
<telerikChart:RadPolarChart x:Name="polarChart"> <telerikChart:RadPolarChart.PolarAxis> <telerikChart:PolarAxis/> </telerikChart:RadPolarChart.PolarAxis> <telerikChart:RadPolarChart.RadialAxis> <telerikChart:NumericalRadialAxis/> </telerikChart:RadPolarChart.RadialAxis> <telerikChart:RadarAreaSeries ItemsSource="{Binding}"> <telerikChart:RadarAreaSeries.ValueBinding> <telerikChart:PropertyNameDataPointBinding PropertyName="Value"/> </telerikChart:RadarAreaSeries.ValueBinding> <telerikChart:RadarAreaSeries.CategoryBinding> <telerikChart:PropertyNameDataPointBinding PropertyName="Category"/> </telerikChart:RadarAreaSeries.CategoryBinding> </telerikChart:RadarAreaSeries> </telerikChart:RadPolarChart>