mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-15 07:24:52 +09:00
Hide steam from production graph
This commit is contained in:
1 parent
c24cb51f13
commit
f9a2e8519b
1 file changed
+5
-1
@@ -42,6 +42,10 @@ setTimeout(function() {
|
||||
xmlhttp.send();
|
||||
}, 0)
|
||||
|
||||
let chartIgnoreList = [
|
||||
"water",
|
||||
"steam"
|
||||
]
|
||||
|
||||
// ID of slave, ID of canvasjs div without #
|
||||
function makeGraph(slaveID, selector) {
|
||||
@@ -56,7 +60,7 @@ function makeGraph(slaveID, selector) {
|
||||
}
|
||||
let chartData = [];
|
||||
for(let o = 0; o < itemNames.length; o++) {
|
||||
if(itemNames[o] != "water"){
|
||||
if(!chartIgnoreList.includes(itemNames[o])){
|
||||
chartData[chartData.length] = generateLineChartArray(data, itemNames[o]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user