Specifically for range which starts at midnight of the current day there is an issue with injecting DAY label on xAxis. DAY label pushes all other labels to the right causing all xAxis labels (but first one) to miss one tick.
It appears that the issue is visible only when first HOUR label is midnight followed by the DAY label.
Changing the xAxis label datetimeFormatter for the DAY from 'dd MMM' to 'dd MMM -> HH:mm' shows issue more clearly.
It's clear that there are two mignight labels instad of one.
Looks like the DAY label replaces HOUR label properly except if HOUR label that needs to be replaced is the first label on xAxis.
In this situation the DAY label instead of replacing HOUR label -> it gets added after it.
Also: by moving the startDate by only 10-20 minutes left/right this issue disapears.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Specifically for range which starts at midnight of the current day there is an issue with injecting DAY label on xAxis. DAY label pushes all other labels to the right causing all xAxis labels (but first one) to miss one tick.
It appears that the issue is visible only when first HOUR label is midnight followed by the DAY label.
Changing the xAxis label datetimeFormatter for the DAY from 'dd MMM' to 'dd MMM -> HH:mm' shows issue more clearly.
It's clear that there are two mignight labels instad of one.
Looks like the DAY label replaces HOUR label properly except if HOUR label that needs to be replaced is the first label on xAxis. In this situation the DAY label instead of replacing HOUR label -> it gets added after it.
Also: by moving the startDate by only 10-20 minutes left/right this issue disapears.