Merge pull request #536 from leiweibau/patch-2

Update jokob-sk graph_online_history.js - thank you @leiweibau 🙏
This commit is contained in:
jokob-sk
2024-01-21 08:08:23 +11:00
committed by GitHub

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; var xValues = pia_js_graph_online_history_time;
new Chart("OnlineChart", { new Chart("OnlineChart", {
type: "bar", type: "bar",
scaleIntegersOnly: true,
data: { data: {
labels: xValues, labels: xValues,
datasets: [{ datasets: [{
@@ -60,4 +61,4 @@ function pia_draw_graph_online_history(pia_js_graph_online_history_time, pia_js_
} }
} }
}); });
} }