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
When providing options for a chart, you can set some properties for the animation.
One of the properties is a callback for when the animation is complete. According to the documentation, the callback is passed the same object that the onProgress callback is passed.
Current Behavior
The passed parameter is undefined.
Possible Solution
Haven't looked into fixing it.
Steps to Reproduce (for bugs)
Open up Chart.js>samples>animation>progress-bar.html.
Add 'console.log(animation);' on line 71.
Open the file in a browser
See undefined in the console log.
Context
Just something I ran into while trying to get a hold of an instance of the chart.
Environment
Chart.js version: 2.5.0
Browser name and version: Any, not browser related.
The text was updated successfully, but these errors were encountered:
Expected Behavior
When providing options for a chart, you can set some properties for the animation.
One of the properties is a callback for when the animation is complete. According to the documentation, the callback is passed the same object that the onProgress callback is passed.
Current Behavior
The passed parameter is undefined.
Possible Solution
Haven't looked into fixing it.
Steps to Reproduce (for bugs)
Context
Just something I ran into while trying to get a hold of an instance of the chart.
Environment
The text was updated successfully, but these errors were encountered: