yAxis.baseUnit String

The base time interval for the axis labels. The default baseUnit is determined automatically from the value range. Available options:

  • milliseconds
  • seconds
  • minutes
  • hours
  • days
  • weeks
  • months
  • years

Example - set the scatter chart y axis base unit

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  series: [
    {
      type: "scatter",
      data: [
        [2, new Date("01/01/2013")],
        [2, new Date("01/02/2013")],
        [2, new Date("01/03/2013")]
      ]
    }
  ],
  yAxis: {
    type: "date",
    baseUnit: "hours"
  }
});
</script>
In this article