Reversed x axes in CPU/Memory graph. #2756

Ylian Saint-Hilaire committed Jun 10, 2021 at 13:36 UTC 28242e9670243890b8b772b66ce97690a2592eff
2 files changed +14 -2
package.json
+13 -1
@@ -36,6 +36,8 @@
36 "sample-config-advanced.json"
37 ],
38 "dependencies": {
39 + "archiver": "^4.0.2",
40 + "archiver-zip-encrypted": "^1.0.10",
41 "body-parser": "^1.19.0",
42 "cbor": "~5.2.0",
43 "compression": "^1.7.4",
@@ -43,14 +45,24 @@
45 "express": "^4.17.0",
46 "express-handlebars": "^3.1.0",
47 "express-ws": "^4.0.0",
48 + "image-size": "^1.0.0",
49 "ipcheck": "^0.1.0",
50 + "loadavg-windows": "^1.1.1",
51 "minimist": "^1.2.0",
52 + "mongodb": "^3.6.9",
53 "multiparty": "^4.2.1",
54 "nedb": "^1.8.0",
55 "node-forge": "^0.10.0",
56 + "node-rdpjs-2": "^0.3.5",
57 + "node-windows": "^1.0.0-beta.5",
58 + "otplib": "^10.2.3",
59 + "saslprep": "^1.0.3",
60 + "ssh2": "^1.1.0",
61 + "web-push": "^3.4.4",
62 "ws": "^5.2.0",
63 "xmldom": "^0.5.0",
53 - "yauzl": "^2.10.0"
64 + "yauzl": "^2.10.0",
65 + "yubikeyotp": "^0.2.0"
66 },
67 "repository": {
68 "type": "git",
views/default.handlebars
+1 -1
@@ -9709,7 +9709,7 @@
9709 tooltips: { enabled: false },
9710 elements: { line: { cubicInterpolationMode: 'monotone' } },
9711 scales: {
9712 - xAxes: [{ type: 'linear', display: true, scaleLabel: { display: false, labelString: '' }, ticks: { min: 0, max: 100 } }],
9712 + xAxes: [{ type: 'linear', display: true, scaleLabel: { display: false, labelString: '' }, ticks: { min: 0, max: 100, reverse: true } }],
9713 yAxes: [{ type: 'linear', display: true, scaleLabel: { display: false, labelString: '' }, ticks: { min: 0, max: 100 } }]
9714 }
9715 }