yAxis.type String (default: "numeric")

The axis type.

The supported values are:

  • "numeric" - numeric axis.
  • "date" - specialized axis for displaying chronological data.
  • "log" - logarithmic axis.

The chart will automatically switch to a date axis if the series X value is of type Date. Set the xAsix.type when such behavior is undesired.

Example - set the scatter chart y axis type

<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"
  }
});
</script>

Example - using logarithmic y axis for the scatter chart

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  series: [
    {
      type: "scatter",
      data: [
        [2, 5],
        [2, 7],
        [2, 11123]
      ]
    }
  ],
  yAxis: {
    type: "log"
  }
});
</script>
In this article