How can I force multiple y-axis in Highcharts to have a common zero

后端 未结 7 1364
萌比男神i
萌比男神i 2021-01-02 00:32

See this JSFiddle. How do I get the y-axis zero to align?

7条回答
  •  孤城傲影
    2021-01-02 00:54

    The short answer is: you can't.

    You can tweak axis scaling, padding, and tick positions and the like and possibly get what you want, but there is no setting to accomplish this.

    There is a feature request though, that you can add your votes and/or comments to:

    http://highcharts.uservoice.com/forums/55896-general/suggestions/2554384-multiple-axis-alignment-control

    EDIT: OTOH, I have to mention that dual axis charts like this are most often a very poor way to show the data, and invites the user to make comparisons that aren't valid.

    While most people are always trying to put everything in one chart, multiple charts are very often the better solution.

    FWIW

提交回复
热议问题