mirror of
https://github.com/Roslund/sthlm-mesh.git
synced 2026-07-06 01:41:36 +02:00
Set max values for graphs
This commit is contained in:
@@ -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