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
{{ message }}
This repository has been archived by the owner on Jul 10, 2020. It is now read-only.
I haven't found a way to do this yet without clearing all the data, rebuilding the dataset, adding the rebuilt dataset and refreshing the chart. This does not produce the same behaviour as the demo in the link above though.
The text was updated successfully, but these errors were encountered:
The obvious problem is, that all datapoints are always pushed through the websocket (instead of only those that should be deleted / added).
Maybe the data of the datasets should be removed from "configurationJson" and a field like "dataToPush" and "dataToRemove" (mapping the data through UUIDs of the datasets) should be added.
Of course you could miss datapoints if there is a connection issue, but maybe even that could be detected if wanted.
Great addon. I really appreciate the work you've put into it!
I'm just wondering if there's a way to push new data points to charts that have already been created?
Here's an example of what I mean: (http://www.chartjs.org/samples/latest/charts/line/basic.html)
If you press the "Add Data" button, a single new points appears as part of the LineDataSet. I guess that button is just doing the following: http://www.chartjs.org/docs/latest/developers/updates.html
I haven't found a way to do this yet without clearing all the data, rebuilding the dataset, adding the rebuilt dataset and refreshing the chart. This does not produce the same behaviour as the demo in the link above though.
The text was updated successfully, but these errors were encountered: