Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
cae1be3893
|
@ -85,6 +85,11 @@ var chart_options = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
elements: {
|
||||||
|
line: {
|
||||||
|
tension: 0
|
||||||
|
}
|
||||||
|
},
|
||||||
annotation: {
|
annotation: {
|
||||||
annotations: [{
|
annotations: [{
|
||||||
type: "line",
|
type: "line",
|
||||||
|
|
|
@ -33,11 +33,11 @@ class LineChart extends Stat {
|
||||||
chart.data.datasets.push({
|
chart.data.datasets.push({
|
||||||
calendar_id: calendar_id,
|
calendar_id: calendar_id,
|
||||||
label: label,
|
label: label,
|
||||||
backgroundColor: color,
|
backgroundColor: color + '55',
|
||||||
borderColor: color,
|
borderColor: color,
|
||||||
data: dataset,
|
data: dataset,
|
||||||
labels: labels,
|
labels: labels,
|
||||||
fill: false,
|
fill: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
chart.update();
|
chart.update();
|
||||||
|
|
Loading…
Reference in New Issue