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 am plotting a line graph and would like to disable the 'pop-up' animation when I add a point to my chart. Looking through the docs, I found the following which seems to address the issue (please let me know if this isn't the fix I'm looking for),
Sometimes when a chart updates, you may not want an animation. To achieve this you can call update with 'none' as mode.
I tried adding mode: 'none' to my options dictionary, but that did not work. Does anyone have any examples/know where I should add mode: 'none' as directed by the docs?
Documentation Is:
Please Explain in Detail...
Hello,
I am plotting a line graph and would like to disable the 'pop-up' animation when I add a point to my chart. Looking through the docs, I found the following which seems to address the issue (please let me know if this isn't the fix I'm looking for),
I tried adding
mode: 'none'
to my options dictionary, but that did not work. Does anyone have any examples/know where I should addmode: 'none'
as directed by the docs?Your Proposal for Changes
Specify where mode as 'none' should be added.
Example
https://www.chartjs.org/docs/latest/developers/updates.html#preventing-animations
The text was updated successfully, but these errors were encountered: