[英]How to set tick interval in highstocks
I am trying to set tickInterval
in xAxis it doesn't make any difference in highstock, but tickLength works seamlessly 我正在尝试在xAxis中设置
tickInterval
在tickInterval
中没有任何区别,但是tickLength可以无缝运行
https://jsfiddle.net/e1on0m6d/ https://jsfiddle.net/e1on0m6d/
In Highstock the ordinal
property for xAxis
is enabled by default, which causes that some of the options do not work. 在Highstock中,默认情况下启用了
xAxis
的ordinal
属性,这导致某些选项不起作用。 You can disable it in this way: 您可以通过以下方式禁用它:
xAxis: {
ordinal: false,
...
},
Live demo: https://jsfiddle.net/BlackLabel/e0fsm41j/ 现场演示: https : //jsfiddle.net/BlackLabel/e0fsm41j/
API Reference: https://api.highcharts.com/highstock/xAxis.ordinal API参考: https : //api.highcharts.com/highstock/xAxis.ordinal
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.