mirror of
https://github.com/Roslund/sthlm-mesh.git
synced 2026-10-30 23:41:58 +01:00
Set max values for graphs
This commit is contained in:
1 parent
2179f06c86
commit
f06137d66f
2 files changed
+6
-2
No files matched your search
@@ -39,7 +39,10 @@ async function messagesStatsGraph() {
|
||||
autoSkip: false
|
||||
}
|
||||
},
|
||||
y: { beginAtZero: true }
|
||||
y: {
|
||||
beginAtZero: true,
|
||||
max: 10,
|
||||
}
|
||||
},
|
||||
plugins: { legend: { display: false } },
|
||||
}
|
||||
|
||||
@@ -44,7 +44,8 @@ async function mostActiveNodesGraph() {
|
||||
scales: {
|
||||
y: {
|
||||
ticks: { autoSkip: false, font: { size: 12 } }
|
||||
}
|
||||
},
|
||||
x: { max: 300 },
|
||||
},
|
||||
plugins: {
|
||||
legend: { display: false },
|
||||
|
||||
Reference in new issue
Block a user