Remove background grid in graphs
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user