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>
  series: [
    { type: "scatter", data: [[1000, 2000]], xAxis: "first" },
    { type: "scatter", data: [[5, 6]], xAxis: "second" }
  xAxis: [
    { name: "first"},
    { name: "second"}
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article