Skip to content

Commit 8471172

Browse files
authored
Update ChartPolicyViolationsState.vue
Signed-off-by: benamar19-b <benamar1906@gmail.com>
1 parent bdf9438 commit 8471172

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/views/dashboard/ChartPolicyViolationsState.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export default {
1414
const failStyle = getStyle('--notification-fail');
1515
const warnStyle = getStyle('--notification-warn');
1616
const infoStyle = getStyle('--notification-info');
17+
const chartAxisStyle = getStyle('--chart-axis-color');
1718
1819
let labels = [];
1920
let failData = [];
@@ -94,6 +95,7 @@ export default {
9495
drawOnChartArea: false,
9596
},
9697
ticks: {
98+
fontColor: chartAxisStyle,
9799
callback: function (value) {
98100
return common.formatTimestamp(value);
99101
},
@@ -103,6 +105,7 @@ export default {
103105
yAxes: [
104106
{
105107
ticks: {
108+
fontColor: chartAxisStyle,
106109
beginAtZero: true,
107110
maxTicksLimit: 1,
108111
},

0 commit comments

Comments
 (0)