You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I actually have 3 graph for 12 captors. When the page is loaded (Ajax), 100 last measures are show in the graph.
Then I can select a date range to reload new point of measures in my graph.
Here is the exemple: http://smart-idea.io/chart-step/
I observed, when I want to have (load) the measures from 20.10.2017 to the 20.10.2017 (measures od the 20 of october), it look like if the previous is still in the graph.
For example, load the page and load new measures of the day 20.10.2017. And then move your mouse over the temperature graph (first graph). You will observe that the graph is like resized (move sudently). In fact, some previous measures are there.
Is there a way to clean a graph before we reload new measure?
Thank a lot
The text was updated successfully, but these errors were encountered:
However, if the charts already exist you need to destroy() the old ones first. This is a quick fix, but a solution that doesn't use global variables would be more ideal
Good evening.
I actually have 3 graph for 12 captors. When the page is loaded (Ajax), 100 last measures are show in the graph.
Then I can select a date range to reload new point of measures in my graph.
Here is the exemple:
http://smart-idea.io/chart-step/
I observed, when I want to have (load) the measures from 20.10.2017 to the 20.10.2017 (measures od the 20 of october), it look like if the previous is still in the graph.
For example, load the page and load new measures of the day 20.10.2017. And then move your mouse over the temperature graph (first graph). You will observe that the graph is like resized (move sudently). In fact, some previous measures are there.
Is there a way to clean a graph before we reload new measure?
Thank a lot
The text was updated successfully, but these errors were encountered: