Telerik UI for Windows 8 XAML

Overview

The RadarSplineSeries are represented on the chart as data points connected with smooth line segments as shown on the image below:

Radar Spline Series

Properties

Note

RadarSplineSeries class inherits from the RadarLineSeries class - See the inherited properties.

Example

Here's an example of how to create a RadCartesianChart with RadarSplineSeries:

  1. First, create a class for the sample data:

    C# Copy imageCopy
    public class Data
    {
        public double Value { get; set; }
    
        public double Category { get; set; }
    }
  2. Then create the sample data:

    C# Copy imageCopy
    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;
  3. Finally, create the chart in XAML.

    XAML Copy imageCopy
    <telerik:RadPolarChart x:Name="polarChart" Width="300" Height="300">
        <telerik:RadPolarChart.PolarAxis>
            <telerik:PolarAxis/>
        </telerik:RadPolarChart.PolarAxis>
        <telerik:RadPolarChart.RadialAxis>
            <telerik:CategoricalRadialAxis/>
        </telerik:RadPolarChart.RadialAxis>
        <telerik:RadPolarChart.Series>
            <telerik:RadarSplineSeries ItemsSource="{Binding}">
                <telerik:RadarSplineSeries.ValueBinding>
                    <telerik:PropertyNameDataPointBinding PropertyName="Value"/>
                </telerik:RadarSplineSeries.ValueBinding>
                <telerik:RadarSplineSeries.CategoryBinding>
                    <telerik:PropertyNameDataPointBinding PropertyName="Category"/>
                </telerik:RadarSplineSeries.CategoryBinding>
            </telerik:RadarSplineSeries>
        </telerik:RadPolarChart.Series>
    </telerik:RadPolarChart>