Pushing/refreshing data #8400
Answered
by
LeeLenaleee
DuncanTLaw
asked this question in
Q&A
|
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 |
Answered by
LeeLenaleee
Feb 9, 2021
Replies: 1 comment
|
https://www.chartjs.org/docs/latest/developers/updates.html#adding-or-removing-data. |
0 replies
Answer selected by
kurkle
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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