Edit this page

xAxis.name String (default: "primary")

The unique axis name. Used to associate a series with a x axis using the series.xAxis option.

Example - set the scatter chart x axis name

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  series: [
    { type: "scatter", data: [[1000, 2000]], xAxis: "first" },
    { type: "scatter", data: [[5, 6]], xAxis: "second" }
  ],
  xAxis: [
    { name: "first"},
    { name: "second"}
  ]
});
</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