не стакаются графики при создании кастомного чарта chartjs
scales: {
yAxes: [{
stacked: true,
}],
},
Chart.controllers.TensionLine = Chart.controllers.line.extend({
draw(...args) {
Chart.controllers.line.prototype.draw.apply(this, args);
},
});
const CustomLine = generateChart('tension-line', 'TensionLine');
export default {
extends: CustomLine,
....
