mirror of https://gitee.com/bigwinds/arangodb
added y value formatting for page faults values - dashboard
This commit is contained in:
parent
68fbe06c4b
commit
ab0d3e1732
|
@ -106,7 +106,20 @@
|
|||
visibility: [true, false],
|
||||
labels: ["datetime", "Major Page", "Minor Page"],
|
||||
div: "pageFaultsChart",
|
||||
labelsKMG2: false
|
||||
labelsKMG2: false,
|
||||
axes: {
|
||||
y: {
|
||||
valueFormatter: function (y) {
|
||||
return parseFloat(y.toPrecision(3));
|
||||
},
|
||||
axisLabelFormatter: function (y) {
|
||||
if (y === 0) {
|
||||
return 0;
|
||||
}
|
||||
return parseFloat(y.toPrecision(3));
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
systemUserTime: {
|
||||
|
|
Loading…
Reference in New Issue