new Chart(document.getElementById('LineChart'), { type: 'line', data: { labels: ['qq', 'w', 'e', 'r', 't', 'y'], datasets: [ { label: 'Dataset 1', data: [520, 760, 240, 433, 156, 380], backgroundColor: '#64bbf3', }, { label: 'Dataset 2', data: [450, 810, 370, 400, 215, 300], backgroundColor: '#ee6c71', }, ], }, options: { responsive: true, plugins: { legend: { position: 'top', }, title: { display: true, text: 'Chart.js Line Chart', }, }, }, })