We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90406d7 commit 5f690e6Copy full SHA for 5f690e6
src/plugins/plugin.colors.ts
@@ -86,12 +86,13 @@ export default {
86
options: {elements},
87
data: {datasets}
88
} = chart.config;
89
- let colorizer: DatasetColorizer;
90
91
if (containsColorsDefinitions(datasets) || elements && containsColorsDefinitions(elements)) {
92
return;
93
}
94
+ let colorizer: DatasetColorizer;
95
+
96
if (type === 'doughnut') {
97
colorizer = createDoughnutDatasetColorizer();
98
} else if (type === 'polarArea') {
0 commit comments