1
0
Fork 0

added y value formatting for page faults values - dashboard

This commit is contained in:
Heiko Kernbach 2014-10-17 11:33:13 +02:00
parent 68fbe06c4b
commit ab0d3e1732
1 changed files with 14 additions and 1 deletions

View File

@ -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: {