mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 04:38:28 +00:00
Reduce border size of line charts
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user