series.categoryField String (default: "category")

The data item field which contains the category name or date.

The points will be rendered in chronological order if the category is a date.

Example - set pie series category name

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  series: [{
    type: "pie",
    categoryField: "type",
    data: [
      { value: 1, type: "Category 1" },
      { value: 2, type: "Category 2" },
    ]
  }]
});
</script>

Example - set series date category field

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  series: [{
    type: "line",
    categoryField: "date",
    data: [
      { value: 1, date: new Date(2012, 1, 1) },
      { value: 2, date: new Date(2012, 1, 2) },
    ]
  }]
});
</script>
In this article