yAxis.categories Array

The category names. Applicable for charts with X and Y category axes (heatmap).

Example - bind heatmap categories

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  series: [{
    type: 'heatmap',
    data: [
      [ 'a', 'v2', 1 ],
      [ 'a', 'v1', 0 ]
    ]
  }],
  xAxis: {
    categories: ['a', 'b', 'c']
  },
  yAxis: {
    categories: ['v1', 'v2']
  }
});
</script>
In this article
Not finding the help you need? Improve this article