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
It looks like updates do not actually update all the options for a chart.
In the updateChart method of ChartComponent, it only updates the xAxis and the background colors. Couldn't we simply replace the entire options object with the updated one?
So in the updateChart method you'd put something like this: var helpers = Chart.helpers; this.chart_instance.options = helpers.configMerge(this.chart_instance.options, options);
I discovered this because it throws an error when it tries to update doughnut charts, because they don't have scales.
Could we get this fixed so that it updates all the chart options?
Activity
gor181 commentedon Jul 26, 2016
Hey @andylhansen ,
thanks for reporting, checking it out
gor181 commentedon Jul 27, 2016
Hey @andylhansen,
Thanks for reporting once again, I have just published v1.1.7 which fixes that issue (3948706) and adds a DynamicDougnut Example to examples.
cc @mattandwhatnot
Thank you,