Miglioramento grafico statistiche

This commit is contained in:
loviuz 2020-07-20 09:15:44 +02:00
parent c53393f0c0
commit a48c600b20
2 changed files with 7 additions and 2 deletions

View File

@ -85,6 +85,11 @@ var chart_options = {
}
}
},
elements: {
line: {
tension: 0
}
},
annotation: {
annotations: [{
type: "line",

View File

@ -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();