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
If I change Chart.defaults.global.plugins.colorschemes.scheme at any time, including before I define the first chart, the scheme color value is not used when I do create a chart.
For some reason, it always defaults to the value of ('brewer.Accent4'). That's odd. Where does that value come from?
The default value you have set in the plugin ('brewer.Paired12') is not used.
I can get a specific chart to draw with the scheme I want by setting ch.options.plugins.colorschemes.scheme
That works fine. But setting the global fails to fall through to a chart when I do not set the scheme on the chart directly. And again, the odd value of scheme that gets used for whatever reason is ('brewer.Accent4').
Note that I am only using scatter-type charts if that makes any difference.
It would be nice to be able to set the global and then have all charts pull from that, but right now the global setting is useless... and worse, wrong.
The text was updated successfully, but these errors were encountered:
Thank you for reporting the issue, but I cannot reproduce this issue. I set Chart.defaults.global.plugins.colorschemes.scheme to 'brewer.RdPu4' for example at the beginning, and it is applied to all the charts.
If I change Chart.defaults.global.plugins.colorschemes.scheme at any time, including before I define the first chart, the scheme color value is not used when I do create a chart.
For some reason, it always defaults to the value of ('brewer.Accent4'). That's odd. Where does that value come from?
The default value you have set in the plugin ('brewer.Paired12') is not used.
I can get a specific chart to draw with the scheme I want by setting ch.options.plugins.colorschemes.scheme
That works fine. But setting the global fails to fall through to a chart when I do not set the scheme on the chart directly. And again, the odd value of scheme that gets used for whatever reason is ('brewer.Accent4').
Note that I am only using scatter-type charts if that makes any difference.
It would be nice to be able to set the global and then have all charts pull from that, but right now the global setting is useless... and worse, wrong.
The text was updated successfully, but these errors were encountered: