categoryAxisArray|Object

The category axis configuration options.

Example - configure the category axis as an object

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  categoryAxis: {
    categories: ["Q1", "Q2", "Q3", "Q4"],
    title: {
      text: "Quarters"
    }
  },
  series: [
    { data: [1, 2, 3, 4] }
  ]
});
</script>

Example - configure the category axis as an array

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  categoryAxis: [{
    categories: ["2012", "2013"],
    color: "#ff0000"
  }],
  series: [
    { data: [1, 2, 3] }
  ]
});
</script>

Related Properties

In this article
categoryAxisRelated Properties
Not finding the help you need?
Contact Support