diff --git a/scripts/pi-hole/js/db_graph.js b/scripts/pi-hole/js/db_graph.js index 4ca0fb6b..4223e738 100644 --- a/scripts/pi-hole/js/db_graph.js +++ b/scripts/pi-hole/js/db_graph.js @@ -236,12 +236,15 @@ $(function () { }, options: { responsive: true, + interaction: { + mode: 'nearest', + axis: 'x', + }, plugins: { tooltip: { enabled: true, yAlign: "bottom", intersect: false, - mode: "x", itemSort: function (a, b) { return b.datasetIndex - a.datasetIndex; },