Edit this page

categoryAxis.name String (default: "primary")

The unique axis name. Used to associate a series with a category axis using the series.categoryAxis option.

Important Using multiple category axes requires setting an explicit name for each of them.

Example - set the category axis name

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  categoryAxis: [
    { name: "month", categories: [ "Jan", "Feb", "Mar" ] },
    { name: "year", categories: [ 2012 ] }
  ],
  series: [
    { categoryAxis: "month", 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