Client - update chart datalabels color on dark mode

This commit is contained in:
Sam 2023-12-20 12:09:55 +01:00
parent 8543e9b320
commit 82c5111ad0

View File

@ -117,7 +117,7 @@
? // eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
context.dataset.backgroundColor[0]
: '#666666'
: textColors.value.color
},
rotation: function (context) {
return fullStats.value && context.chart.chartArea.width < 580