mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-18 07:56:57 +00:00
Add spanGaps option to chart datasets for CPU, RAM, and Disk in ServerDetail component
This commit is contained in:
parent
0c9a7670fc
commit
c82a527ae4
@ -201,7 +201,8 @@ export default function ServerDetail() {
|
|||||||
data: history.datasets.cpu,
|
data: history.datasets.cpu,
|
||||||
borderColor: 'rgb(75, 192, 192)',
|
borderColor: 'rgb(75, 192, 192)',
|
||||||
backgroundColor: 'rgba(75, 192, 192, 0.1)',
|
backgroundColor: 'rgba(75, 192, 192, 0.1)',
|
||||||
fill: true
|
fill: true,
|
||||||
|
spanGaps: false
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
options: {
|
options: {
|
||||||
@ -247,7 +248,8 @@ export default function ServerDetail() {
|
|||||||
data: history.datasets.ram,
|
data: history.datasets.ram,
|
||||||
borderColor: 'rgb(153, 102, 255)',
|
borderColor: 'rgb(153, 102, 255)',
|
||||||
backgroundColor: 'rgba(153, 102, 255, 0.1)',
|
backgroundColor: 'rgba(153, 102, 255, 0.1)',
|
||||||
fill: true
|
fill: true,
|
||||||
|
spanGaps: false
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
options: {
|
options: {
|
||||||
@ -290,7 +292,8 @@ export default function ServerDetail() {
|
|||||||
data: history.datasets.disk,
|
data: history.datasets.disk,
|
||||||
borderColor: 'rgb(255, 159, 64)',
|
borderColor: 'rgb(255, 159, 64)',
|
||||||
backgroundColor: 'rgba(255, 159, 64, 0.1)',
|
backgroundColor: 'rgba(255, 159, 64, 0.1)',
|
||||||
fill: true
|
fill: true,
|
||||||
|
spanGaps: false
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
options: {
|
options: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user