admin管理员组文章数量:1430841
I have couple of charts working but whenever the chart spline is on 1-3 the yAxis shows numbers like 0.25, 0.75, 1.50 etc.. The spline is correct but i want to show only full numbers on the yAxis e.g 1,2,3,4,5 etc..
Any way to do that?
I have couple of charts working but whenever the chart spline is on 1-3 the yAxis shows numbers like 0.25, 0.75, 1.50 etc.. The spline is correct but i want to show only full numbers on the yAxis e.g 1,2,3,4,5 etc..
Any way to do that?
Share Improve this question asked Dec 28, 2011 at 8:12 RicardoRicardo 1,6728 gold badges28 silver badges53 bronze badges 2-
what have you specified in
yAxis: { title: { text: 'title text' } }
– Hemant Metalia Commented Dec 28, 2011 at 8:20 - Already fixed that, someone just helped me on their forum, see my answer. – Ricardo Commented Dec 28, 2011 at 8:21
1 Answer
Reset to default 9Fixed with :
allowDecimals: false
Thanks.
本文标签: javascriptHow to show the numbers on the yaxis by 1 on HighChartsStack Overflow
版权声明:本文标题:javascript - How to show the numbers on the y-axis by 1 on HighCharts? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745567033a2663823.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论