Mập Mũm Mĩm
Mập Mũm Mĩm

Reputation: 55

Prolems with highcharts

Screenshot of problem

I have problem with highcharts same the picture. I don't know why, the 0 line at left side and right side don't same on line. Thanks all so much.

Upvotes: 0

Views: 57

Answers (1)

Gayan Dasanayake
Gayan Dasanayake

Reputation: 2021

If you want two Y axes and want to align 0 tick together that is not yet possible with highcharts. Follow this discussion https://highcharts.uservoice.com/forums/55896-general/suggestions/2554384-multiple-axis-alignment-control?page=3&per_page=20.

However you can try this simple workaround:

  • Have the same min/max on both y Axes:

    yAxis: [{ min: -10000, max: 40000 }

  • Or just link one axis to the other:

    yAxis: [{ opposite: true, linkedTo: 0 }

Upvotes: 1

Related Questions