1 let chart = new Chart(elem.find('canvas')[0], {
2 type: 'line',
3 data: {
4 labels: [],
5 datasets: []
6 },
7 options: {
8 responsive: true,
9 maintainAspectRatio: false,
10 legend: {
11 onClick: (e) => e.stopPropagation()
12 }
13 }
14 });
15