diff --git a/modules/statistiche/edit.php b/modules/statistiche/edit.php index f33d9cab0..920a2107b 100755 --- a/modules/statistiche/edit.php +++ b/modules/statistiche/edit.php @@ -85,6 +85,11 @@ var chart_options = { } } }, + elements: { + line: { + tension: 0 + } + }, annotation: { annotations: [{ type: "line", diff --git a/modules/statistiche/js/stats/line_chart.js b/modules/statistiche/js/stats/line_chart.js index 0a937f6fa..f30ce17a3 100755 --- a/modules/statistiche/js/stats/line_chart.js +++ b/modules/statistiche/js/stats/line_chart.js @@ -33,11 +33,11 @@ class LineChart extends Stat { chart.data.datasets.push({ calendar_id: calendar_id, label: label, - backgroundColor: color, + backgroundColor: color + '55', borderColor: color, data: dataset, labels: labels, - fill: false, + fill: true, }); chart.update();