Update jokob-sk graph_online_history.js

Depending on how many devices are contained in the list, the y-axis may contain floating point numbers. This does not make sense.
This commit is contained in:
leiweibau
2024-01-20 15:00:47 +01:00
committed by GitHub
parent 508b0c2d83
commit 8e8d61a0e0

View File

@@ -2,6 +2,7 @@ function pia_draw_graph_online_history(pia_js_graph_online_history_time, pia_js_
var xValues = pia_js_graph_online_history_time;
new Chart("OnlineChart", {
type: "bar",
scaleIntegersOnly: true,
data: {
labels: xValues,
datasets: [{