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
My request is: update content at Adding or Removing Data section.
My suggestion is below.
When you want to change the graphic displayed (adding points), you need to provide newData in order to update the data array within each graphic. If you want to remove points from graphic, you just pop them from graphic. See samples below.
Update content at Adding or Removing Data documentation section, in order to be more clear and precise. The way data is shown is confusing, since there are two different places with the same var name.
Documentation Is:
Please Explain in Detail...
At this URL (/docs/latest/developers/updates.html) we have confusing instructions:
data
is everywhere.My request is: update content at Adding or Removing Data section.
My suggestion is below.
When you want to change the graphic displayed (adding points), you need to provide
newData
in order to update the data array within each graphic. If you want to remove points from graphic, you justpop
them from graphic. See samples below.Your Proposal for Changes
Update content at Adding or Removing Data documentation section, in order to be more clear and precise. The way
data
is shown is confusing, since there are two different places with the same var name.Example
https://www.chartjs.org/docs/latest/developers/updates.html
The text was updated successfully, but these errors were encountered: