change color for chart
This commit is contained in:
@@ -127,6 +127,10 @@ export default function AsalDaerahLulusChart({ selectedYear }: AsalDaerahLulusCh
|
|||||||
const currentTheme = theme === 'system' ? systemTheme : theme;
|
const currentTheme = theme === 'system' ? systemTheme : theme;
|
||||||
setOptions(prev => ({
|
setOptions(prev => ({
|
||||||
...prev,
|
...prev,
|
||||||
|
chart: {
|
||||||
|
...prev.chart,
|
||||||
|
background: currentTheme === 'dark' ? '#0F172B' : '#fff',
|
||||||
|
},
|
||||||
dataLabels: {
|
dataLabels: {
|
||||||
...prev.dataLabels,
|
...prev.dataLabels,
|
||||||
style: {
|
style: {
|
||||||
|
|||||||
Reference in New Issue
Block a user