made the trendline a bit thicker

This commit is contained in:
Jack 2020-06-23 22:10:53 +01:00
parent 087147e2ce
commit 3a80780c3e
2 changed files with 2 additions and 2 deletions

View file

@ -199,7 +199,7 @@ var resultHistoryChart = new Chart($(".pageAccount #resultHistoryChart"), {
trendlineLinear: {
style: "rgba(255,105,180, .8)",
lineStyle: "dotted",
width: 2
width: 4
}
},
],

View file

@ -84,7 +84,7 @@ function addFitter(datasetMeta, ctx, dataset, xScale, yScale) {
}
ctx.lineWidth = lineWidth;
if (lineStyle === "dotted") { ctx.setLineDash([2, 3]); }
if (lineStyle === "dotted") { ctx.setLineDash([4, 6]); }
ctx.beginPath();
ctx.moveTo(x1, y1);
ctx.lineTo(x2, y2);