Home forums Report Bugs Inconsistent X Axis Label Calculation

This topic contains 2 replies, has 2 voices, and was last updated by  Vishwas R 9 months, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #10356



    I have a data set aligned to start at midnight on the requested day (and end a few days later). I want to show X labels every 12 hours but they aren’t aligned well with the sample time. The first label is 10:00am not 00:00am. An easy example is showing the same data with interval set to 1 Day or 24 hours. See the fiddles below – when set to Hours it starts at 10:00am.

    How can I influence the x axis label calculation so that they always start at the time of the first sample? (desired outcome – first label is 00:00 on the first day and then every 12 hours from there on).

    Interval 1 Day : http://jsfiddle.net/b89bL50b/1/
    Interval 24 Hours : http://jsfiddle.net/b89bL50b/3/





    Sorry to follow-up to my own post but I just thought of something that may be relevant. When setting the interval to hours the first tick is at 10:00 not 00:00. Our timezone is at GMT+10 so perhaps the hours based calculation isn’t accounting for the timezone offset?


    Vishwas R


    As of now controlling the tick and label start point is not available. Interval start point will be calculated automatically and varies for different intervalType. We consider it for future release.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.