vasturiano / timelines-chart

Timelines Chart
http://vasturiano.github.io/timelines-chart/example/categorical/
MIT License
560 stars 122 forks source link

Line datetime from zero #141

Open BartosStore opened 1 year ago

BartosStore commented 1 year ago

Hi,

I try to render time lines with datetime starting from zero. To be more precise, each line is one hour of some action and within line I visualize the change of state from 0:00:00 to 0:59:59. I think its the timezone thats giving me the trouble.

Y-axis is OK. Tooltip shows correct time after setting useUtc: true. But X-axis still shows the time offset by the timezone. I see 01h-02h, but I need 00h-01h. Is it possible to implement useUtc flag for X-axis?