Pushing/refreshing data #8400
-
I have some data:
What would be the best way to edit the data? Say I want to push
or
What about if I want to replace all the data in data with a new number array? What steps do I take and do I have to use any of the built-in |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
https://www.chartjs.org/docs/latest/developers/updates.html#adding-or-removing-data. |
Beta Was this translation helpful? Give feedback.
https://www.chartjs.org/docs/latest/developers/updates.html#adding-or-removing-data.
If you want an entirely new array you can override the old one and calling update method