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 have a simple bar chart with one dataset. At this time chart.config.data.datasets[0]._meta contains only one property. When I destroy chart and create new one i would expect that chart.config.data.datasets[0]._meta will still contain only one property but different than before. This is not true. Each time i destroy and recreate chart new property is appended to meta object.
The _meta object contains internal data, keyed by the chart id since the user data can be shared by multiple chart instances. However you right, we don't clean this object when destroying a chart (I think there is already a related issue).
I have a simple bar chart with one dataset. At this time chart.config.data.datasets[0]._meta contains only one property. When I destroy chart and create new one i would expect that chart.config.data.datasets[0]._meta will still contain only one property but different than before. This is not true. Each time i destroy and recreate chart new property is appended to meta object.
fiddle example: https://jsfiddle.net/Luaf2tm4/298/
The text was updated successfully, but these errors were encountered: