Edit this page

categoryAxis.type String (default: "category")

The category axis type.

The supported values are:

  • "category" - discrete category axis.
  • "date" - specialized axis for displaying chronological data.

Example - set the category axis type

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  categoryAxis: {
    categories: [
      new Date("2011/12/20"),
      new Date("2011/12/21")
    ],
    type: "date"
  },
  series: [
    { data: [1, 2, 3] }
  ]
});
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy