Telerik UI for Windows Phone

CategoricalAxis

The categorical axis displays a range of categories and the values that determine each category do not define an order. If a category binding is not specified for the categorical axis, each data point will be in its own category with the category being determined by the position of the data point in the data source. Here is an example of a categorical axis with a few data points. Notice how each data point is its own category on the X axis:

CopyXAML
<chart:RadCartesianChart
  x:Name="chart">
   <chart:RadCartesianChart.HorizontalAxis>
      <chart:CategoricalAxis/>
   </chart:RadCartesianChart.HorizontalAxis>

   <chart:RadCartesianChart.VerticalAxis>
      <chart:LinearAxis/>
   </chart:RadCartesianChart.VerticalAxis>

   <chart:RadCartesianChart.Series>
      <chart:LineSeries Stroke="Orange" StrokeThickness="2">

       <chart:LineSeries.DataPoints>
           <chartEngine:CategoricalDataPoint Value="20"/>
           <chartEngine:CategoricalDataPoint Value="40"/>
           <chartEngine:CategoricalDataPoint Value="35"/>
           <chartEngine:CategoricalDataPoint Value="40"/>
           <chartEngine:CategoricalDataPoint Value="30"/>
           <chartEngine:CategoricalDataPoint Value="50"/>
       </chart:LineSeries.DataPoints>
   </chart:LineSeries>
</chart:RadCartesianChart.Series>

radchart-axes-categoricalaxis