Edit this page

xAxis.color String

The color of the axis. Accepts a valid CSS color string, including hex and rgb.

Example - set the scatter chart x axis color

<div id="chart"></div>
  series: [
    { type: "scatter", data: [[1, 2]] }
  xAxis: {
    color: "red"
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article