Highcharts axis sign before the first point

Good morning,

I have a very nasty problem with Highcharts, so the x-axis label (using datetime) will not start from my first datapoint - like in this image:

enter image description here

As you can see, the chart shortcut starts on August 15., while shoudl starts on 9. Aug.

Setting startOnTick: true causes the axis marker to start on the left, but the label still does not match my first point - as in this image:

enter image description here

Where you can see a shortcut starting with 8.Aug, when it should start with 9. Aug. Better shown on my hourly chart:

enter image description here

My series type is a string, and the data takes a pair of [dateutc, decimal]. Datetime intervals are not regular intervals and can range from hourly to daily to monthly.

xAxis: {
  type: "datetime",
  lineWidth: 2,
  //startOnTick: true,
  //showFirstLabel: true
}
+5
1

, , , tickInterval. , , , , tickInterval, datetime x, .

jsfiddle, tickInterval 2 .

+1

All Articles