mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
Merge pull request #536 from leiweibau/patch-2
Update jokob-sk graph_online_history.js - thank you @leiweibau 🙏
This commit is contained in:
@@ -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_
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user