Javascript Highcharts,使 yAxis 从零开始

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11744003/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-24 06:56:38  来源:igfitidea点击:

Highcharts, make the yAxis start at zero

javascripthighcharts

提问by Hedde van der Heide

I suppose this should be a no brainer for some, but I couldn't find it in those awful auto generated documentation

我想这对某些人来说应该是显而易见的,但我在那些糟糕的自动生成的文档中找不到它

回答by codename-

You should add in your yAxis property in chart object min : 0It's simillar question to: How to set Highcharts chart maximum yAxis value

您应该在图表对象中添加 yAxis 属性min : 0这与以下问题类似如何设置 Highcharts 图表最大 yAxis 值