ticks not showing as entered

佐手、 提交于 2019-12-13 04:48:49

问题


I'm working with highcharts' highstock library. I'm trying to populate monthly data on it but xAxis on navigator misses out some months. I need it to include ALL months. here's the fiddle.

I've tried the tick intervals:

navigator: {
  adaptToUpdatedData: false,
    xAxis: {
        minTickInterval: 30*24*3600*1000
    }
}

Suggestions?


回答1:


You can disable tickPixelInterval by setting it as null and then set tickInterval as 30 * 24 * 3600 * 1000.

Example: http://jsfiddle.net/voazL4cn/3/



来源:https://stackoverflow.com/questions/27656231/ticks-not-showing-as-entered

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!