The type of the chart series created is defined by an object deriving from SeriesDefinition
. In this case, you need to use a PieSeriesDefinition.
You can set the DefaultSeriesDefinition
property of RadChart before assigning its ItemsSource
RadChart1.DefaultSeriesDefinition = new PieSeriesDefinition();
This will point that you need any series created within the chart to be a pie series. If you need to show the exercise type value in the legend, you can take advantage of the SeriesMapping mechanism
in RadChart. I have attached a small example showing this.
the Telerik team