RadCartesianChart visualizes each data item from the LineSeries and connects them with straight line segments. The LineSeries extend CategoricalStrokedSeries, so they are also CategoricalSeries and require one CategoricalAxis and one NumricalAxis.


  • Stroke (Color): changes the color used to draw lines.
  • StrokeThickness (double): changes the width of the lines.


Here is an example of how to create a basic RadCartesianChart with LineSeries in xaml:

    <telerikChart:LineSeries ItemsSource="{Binding CategoricalData}">
        <telerikChart:PropertyNameDataPointBinding PropertyName="Value"/>
        <telerikChart:PropertyNameDataPointBinding PropertyName="Category"/>



Here is an example of how to create a RadCartesianChart with LineSeries in code:

var chart = new RadCartesianChart
    HorizontalAxis = new CategoricalAxis(),
    VerticalAxis = new NumericalAxis(),
    BindingContext = new CategoricalViewModel()

var series = new LineSeries();
series.SetBinding(LineSeries.ItemsSourceProperty, new Binding("CategoricalData"));   
series.ValueBinding = new PropertyNameDataPointBinding("Value");
series.CategoryBinding = new PropertyNameDataPointBinding("Category");


Here is the sample data:

public class CategoricalData
    public object Category { get; set; }
    public double Value { get; set; }

public class CategoricalViewModel
    private static Random random = new Random();
    private static string[] categories = new string[] { "Greenings", "Perfecto", "NearBy", "Family", "Fresh" };

    public CategoricalViewModel()
        this.CategoricalData = GetCategoricalData();

    public ObservableCollection<CategoricalData> CategoricalData { get; set; }

    public static ObservableCollection<CategoricalData> GetCategoricalData()
        var data = new ObservableCollection<CategoricalData>();
        for (int i = 0; i < categories.Length; i++)
            data.Add(new CategoricalData() { Value = random.Next(50, 100), Category = categories[i] });

        return data;

And here is the result:

Basic LineSeries

Here we make some customizations:

var series = new LineSeries { Stroke = new Color(0.6, 0.6, 0.9), StrokeThickness = 5 };

Customized LineSeries