I am using HighCharts to produce some graphs.
For some reason the graph axis do not start at 00:00 (which is the earliest data point in this case) but instead start from 23:00, which seems odd.
I 开发者_JAVA百科have tried setting the pointStart
option to the earliest data point but this doesn't help either. I set the property like so:
options.plotOptions.series.pointStart = time;
Here is an image showing the issue:
I figured it out, I had the startOnTick
property set which, according to the documentation, may result in padding at the start. I removed this property and it all works nicely now.
精彩评论