diff --git a/scripts/pi-hole/js/db_graph.js b/scripts/pi-hole/js/db_graph.js index ebf43bc9..bf73f251 100644 --- a/scripts/pi-hole/js/db_graph.js +++ b/scripts/pi-hole/js/db_graph.js @@ -222,7 +222,7 @@ $(function () { backgroundColor: blockedColor, borderColor: blockedColor, pointBorderColor: blockedColor, - pointRadius: 1, + pointRadius: 0, pointHoverRadius: 5, data: [], pointHitRadius: 5, @@ -233,7 +233,7 @@ $(function () { backgroundColor: permittedColor, borderColor: permittedColor, pointBorderColor: permittedColor, - pointRadius: 1, + pointRadius: 0, pointHoverRadius: 5, data: [], pointHitRadius: 5, @@ -371,6 +371,12 @@ $(function () { }, ], }, + elements: { + line: { + borderWidth: 0, + spanGaps: false, + }, + }, maintainAspectRatio: false, }, }); diff --git a/scripts/pi-hole/js/index.js b/scripts/pi-hole/js/index.js index 61972ac9..b3d7d18a 100644 --- a/scripts/pi-hole/js/index.js +++ b/scripts/pi-hole/js/index.js @@ -971,10 +971,17 @@ $(function () { }, gridLines: { color: gridColor, + zeroLineColor: gridColor, }, }, ], }, + elements: { + line: { + borderWidth: 0, + spanGaps: false, + }, + }, maintainAspectRatio: false, }, }); @@ -1051,10 +1058,17 @@ $(function () { stacked: true, gridLines: { color: gridColor, + zeroLineColor: gridColor, }, }, ], }, + elements: { + line: { + borderWidth: 0, + spanGaps: false, + }, + }, maintainAspectRatio: false, hover: { animationDuration: 0,