Remove background grid in graphs

This commit is contained in:
Johannes Zellner
2025-05-22 16:14:43 +02:00
parent 1842afa7c6
commit f03b23497a
+15 -3
View File
@@ -102,7 +102,10 @@ async function refresh() {
autoSkipPadding: 20, // padding between ticks
maxRotation: 0, // don't rotate the labels
maxTicksLimit: 15, // max tick labels to show
}
},
grid: {
drawOnChartArea: false,
},
},
y: {
ticks: {
@@ -112,7 +115,10 @@ async function refresh() {
min: 0,
max: result.cpuCount * 100,
beginAtZero: true,
}
grid: {
drawOnChartArea: false,
},
},
},
interaction: {
intersect: false,
@@ -183,7 +189,10 @@ async function refresh() {
autoSkipPadding: 20, // padding between ticks
maxRotation: 0, // don't rotate the labels
maxTicksLimit: 15, // max tick labels to show
}
},
grid: {
drawOnChartArea: false,
},
},
y: {
ticks: {
@@ -198,6 +207,9 @@ async function refresh() {
max: ((roundedMemory + roundedSwap)/ giB).toFixed(2), // string
beginAtZero: true,
stacked: true,
grid: {
drawOnChartArea: false,
},
}
},
interaction: {