ticks not showing as entered

2019-09-01 05:44发布

问题:

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/