Client - update chart datalabels color on dark mode
This commit is contained in:
parent
8543e9b320
commit
82c5111ad0
@ -117,7 +117,7 @@
|
|||||||
? // eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
? // eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
context.dataset.backgroundColor[0]
|
context.dataset.backgroundColor[0]
|
||||||
: '#666666'
|
: textColors.value.color
|
||||||
},
|
},
|
||||||
rotation: function (context) {
|
rotation: function (context) {
|
||||||
return fullStats.value && context.chart.chartArea.width < 580
|
return fullStats.value && context.chart.chartArea.width < 580
|
||||||
|
Loading…
Reference in New Issue
Block a user