NatelEnergy / grafana-plotly-panel

Show plotly graph in grafana panel
MIT License
145 stars 58 forks source link

Refresh issue with time-based plots (on change of time period) #98

Open apellew opened 4 years ago

apellew commented 4 years ago

When I change default time-range from 7-days down to 2-days for a time-based plot the values in the graph are re-drawn but the graph isn't re-scaled. For example, this is a 7-day plot;

Screenshot 2020-04-23 at 11 36 41

When I change this to a 2-day plot I see this;

Screenshot 2020-04-23 at 11 36 57

If I use event-based (rather than time-based) reporting then changing the date-picker appears to correctly refresh the plot. Here are my browser details; https://www.whatsmybrowser.org/b/UH17M (Basically Chrome 80 on macOS) in case that helps. I'm using Grafana v5.4.3 (6539180) as our customer uses Internet Explorer only. And running 0.0.6 of Plotly.

Any help appreciated!