Flotchart timezone parameter not working with dual y axis chart

44 views
Skip to first unread message

Brian Hooke

unread,
Oct 17, 2019, 10:35:18 AM10/17/19
to Flot graphs

I use a flotchart like this one with dual y-axis: https://www.flotcharts.org/flot/examples/axes-multiple/

My problem is the usual 'epochtime: Country/City' parameter isn't having any effect on my graph's display (eg as 'timezone: Australia/Sydney' or 'timezone: America/Chicago'). GMT 0 time is always displayed.

The x-axis parameter must be set to 'xaxes' (being a dual y-axis 'yaxes' graph) & I suspect this is the issue?

Has anyone had any luck converting epochtime to local time using dual y-axis flotcharts?


xaxes: [{
mode: "time",
timeBase: "milliseconds",
timezone: "America/Chicago",
timeformat: "%h:%M %P"
}],
Reply all
Reply to author
Forward
0 new messages