We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdf9438 commit 8471172Copy full SHA for 8471172
1 file changed
src/views/dashboard/ChartPolicyViolationsState.vue
@@ -14,6 +14,7 @@ export default {
14
const failStyle = getStyle('--notification-fail');
15
const warnStyle = getStyle('--notification-warn');
16
const infoStyle = getStyle('--notification-info');
17
+ const chartAxisStyle = getStyle('--chart-axis-color');
18
19
let labels = [];
20
let failData = [];
@@ -94,6 +95,7 @@ export default {
94
95
drawOnChartArea: false,
96
},
97
ticks: {
98
+ fontColor: chartAxisStyle,
99
callback: function (value) {
100
return common.formatTimestamp(value);
101
@@ -103,6 +105,7 @@ export default {
103
105
yAxes: [
104
106
{
107
108
109
beginAtZero: true,
110
maxTicksLimit: 1,
111
0 commit comments