Skip to content

Commit 0078565

Browse files
committed
Fix apex chart yaxis label color
1 parent fe0c15d commit 0078565

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

src/pages/Charts/Apex/mock.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export default {
9191
yaxis: {
9292
labels: {
9393
style: {
94-
color: colors.textColor,
94+
colors: colors.textColor,
9595
},
9696
},
9797
},
@@ -182,7 +182,7 @@ export default {
182182
yaxis: {
183183
labels: {
184184
style: {
185-
color: colors.textColor,
185+
colors: colors.textColor,
186186
},
187187
},
188188
},
@@ -391,7 +391,7 @@ export default {
391391
},
392392
labels: {
393393
style: {
394-
color: colors.textColor,
394+
colors: colors.textColor,
395395
},
396396
},
397397
},
@@ -521,7 +521,7 @@ export default {
521521
},
522522
labels: {
523523
style: {
524-
color: colors.blue,
524+
colors: colors.blue,
525525
},
526526
},
527527
title: {
@@ -547,7 +547,7 @@ export default {
547547
},
548548
labels: {
549549
style: {
550-
color: colors.green,
550+
colors: colors.green,
551551
},
552552
},
553553
title: {
@@ -569,7 +569,7 @@ export default {
569569
},
570570
labels: {
571571
style: {
572-
color: colors.orange,
572+
colors: colors.orange,
573573
},
574574
},
575575
title: {
@@ -793,7 +793,7 @@ export default {
793793
yaxis: {
794794
labels: {
795795
style: {
796-
color: colors.textColor,
796+
colors: colors.textColor,
797797
},
798798
},
799799
},

src/pages/Charts/mock.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export const chartData = {
6464
yaxis: {
6565
labels: {
6666
style: {
67-
color: colors.textColor,
67+
colors: colors.textColor,
6868
},
6969
},
7070
},
@@ -74,6 +74,11 @@ export const chartData = {
7474
grid: {
7575
borderColor: colors.gridLineColor,
7676
},
77+
legend: {
78+
labels: {
79+
colors: colors.textColor,
80+
},
81+
},
7782
},
7883
},
7984
pie: {

0 commit comments

Comments
 (0)