Reduce border size of line charts

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König
2022-05-02 21:40:35 +02:00
parent 772944f6cb
commit b44acd52ec
2 changed files with 22 additions and 2 deletions

View File

@@ -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,
},
});

View File

@@ -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,