diff --git a/index.php b/index.php
index 32cbe952..5d8e8bf5 100644
--- a/index.php
+++ b/index.php
@@ -65,7 +65,7 @@
@@ -84,7 +84,7 @@
@@ -100,7 +100,7 @@
diff --git a/js/pihole/index.js b/js/pihole/index.js
index 205a1d49..8688b76b 100644
--- a/js/pihole/index.js
+++ b/js/pihole/index.js
@@ -44,7 +44,8 @@ $(document).ready(function() {
borderColor: "rgba(0, 166, 90,.8)",
pointBorderColor: "rgba(0, 166, 90,.8)",
pointRadius: 0,
- data: []
+ data: [],
+ pointHitRadius: 20
},
{
label: "Ad Queries",
@@ -53,7 +54,8 @@ $(document).ready(function() {
borderColor: "rgba(0,192,239,1)",
pointBorderColor: "rgba(0,192,239,1)",
pointRadius: 0,
- data: []
+ data: [],
+ pointHitRadius: 20
}
]
},
@@ -64,7 +66,15 @@ $(document).ready(function() {
},
legend: {
display: false
- }
+ },
+ scales: {
+ yAxes: [{
+ ticks: {
+ beginAtZero: true
+ }
+ }]
+ },
+ maintainAspectRatio: false
}
});