如何强制Highcharts中的多个y轴具有共同的零点 [英] How can I force multiple y-axis in Highcharts to have a common zero
问题描述
请参阅此 JSFiddle 。如何获得y轴零点对齐?
简短的回答是:您不可以。
你可以调整轴缩放,填充和打勾位置等,并可能得到你想要的,但没有设置来实现这一点。
有一个功能请求尽管如此,您可以添加您的投票和/或评论到:
编辑:
OTOH,我不得不提到这样的双轴图表通常是一种非常糟糕的方式来显示数据,并邀请用户制作比较无效。
尽管大多数人总是试图将所有内容放在一张图表中,但多个图表往往是更好的解决方案。
See this JSFiddle. How do I get the y-axis zero to align?
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:
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
这篇关于如何强制Highcharts中的多个y轴具有共同的零点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!