mirror of
https://github.com/pi-hole/web.git
synced 2026-04-23 10:19:47 +01:00
Fix line graph reprenstations for overtime* charts
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
@@ -220,25 +220,17 @@ $(function () {
|
||||
datasets: [
|
||||
{
|
||||
label: "Blocked DNS Queries",
|
||||
fill: true,
|
||||
backgroundColor: blockedColor,
|
||||
borderColor: blockedColor,
|
||||
pointBorderColor: blockedColor,
|
||||
pointRadius: 0,
|
||||
pointHoverRadius: 5,
|
||||
data: [],
|
||||
pointHitRadius: 5,
|
||||
},
|
||||
{
|
||||
label: "Permitted DNS Queries",
|
||||
fill: true,
|
||||
backgroundColor: permittedColor,
|
||||
borderColor: permittedColor,
|
||||
pointBorderColor: permittedColor,
|
||||
pointRadius: 0,
|
||||
pointHoverRadius: 5,
|
||||
data: [],
|
||||
pointHitRadius: 5,
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -366,6 +358,7 @@ $(function () {
|
||||
beginAtZero: true,
|
||||
ticks: {
|
||||
color: ticksColor,
|
||||
precision: 0,
|
||||
},
|
||||
grid: {
|
||||
color: gridColor,
|
||||
@@ -377,6 +370,12 @@ $(function () {
|
||||
line: {
|
||||
borderWidth: 0,
|
||||
spanGaps: false,
|
||||
fill: true,
|
||||
},
|
||||
point: {
|
||||
radius: 0,
|
||||
hoverRadius: 5,
|
||||
hitRadius: 5,
|
||||
},
|
||||
},
|
||||
maintainAspectRatio: false,
|
||||
|
||||
Reference in New Issue
Block a user