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 created a line chart, and a dataset has a backgroundColor array. When the first items of the data and backgroundColor arrays are removed using shift(), it should be correctly reflected in the chart.
Current Behavior
When the first items of the data and backgroundColor arrays are removed, elements in the chart have wrong colors.
Possible Solution
Not sure, but I suspect that the caching when resolving the options might cause the problem.
Steps to Reproduce
Press 'Push Data' button, then press 'Shift Data' button.
Expected Behavior
I created a line chart, and a dataset has a backgroundColor array. When the first items of the data and backgroundColor arrays are removed using
shift()
, it should be correctly reflected in the chart.Current Behavior
When the first items of the data and backgroundColor arrays are removed, elements in the chart have wrong colors.
Possible Solution
Not sure, but I suspect that the caching when resolving the options might cause the problem.
Steps to Reproduce
Press 'Push Data' button, then press 'Shift Data' button.
https://jsfiddle.net/nagix/6n34bsym/
Environment
The text was updated successfully, but these errors were encountered: