New to Telerik UI for WPF? Download free 30-day trial

Plot Mode

RadChartView allows you to modify the layout of the Categorical and Date Time axes to improve the look and feel of the series presented. Depending on the selected plot mode, the axis's ticks and labels will be visualized differently.

The default PlotMode property is BetweenTicks.

You can set the PlotMode from XAML like this:

<telerik:RadCartesianChart x:Name="telerik"> 
        <telerik:CategoricalAxis PlotMode="BetweenTicks"/> 
                <telerik:CategoricalDataPoint Value="10" Category="1"/> 
                <telerik:CategoricalDataPoint Value="4" Category="2"/> 
                <telerik:CategoricalDataPoint Value="7" Category="3"/> 
                <telerik:CategoricalDataPoint Value="11" Category="4"/> 
                <telerik:CategoricalDataPoint Value="15" Category="5"/> 
The PlotMode property can be used with the following predefined values:
  • OnTicks - in this mode, the ticks match labels. Best for Linear series.

  • BetweenTicks - ticks are margins (labels are between two ticks); a small margin on both sides is provided. Useful for Bar series.

  • OnTicksPadded - ticks match labels; a small margin on both sides is provided for better presentation. It is recomended to be used with Scatter series.

In this article
Not finding the help you need? Improve this article