mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-21 22:25:03 -04:00
diversify chartcolors for doughnut & stackedbar
This commit is contained in:
@@ -41,7 +41,7 @@ class StackedBarChart extends Component {
|
||||
return {
|
||||
label: d.label,
|
||||
data: d.data,
|
||||
backgroundColor: colors.chartColors[index]
|
||||
backgroundColor: colors.chartColorsDiversified[index]
|
||||
};
|
||||
})
|
||||
}
|
||||
@@ -54,7 +54,7 @@ class StackedBarChart extends Component {
|
||||
return {
|
||||
label: d.label,
|
||||
data: d.data,
|
||||
backgroundColor: colors.chartColors[index]
|
||||
backgroundColor: colors.chartColorsDiversified[index]
|
||||
};
|
||||
});
|
||||
this.myChart.update();
|
||||
|
||||
Reference in New Issue
Block a user