var options = {
chart: {
type: 'line',
height: '100%',
width: '100%'
},
series: [{
name: 'Sales',
data: [10, 20, 15, 30, 25, 40, 35]
}],
xaxis: {
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul']
},
responsive: [{
breakpoint: 480,
options: {
chart: {
width: '100%'
},
legend: {
position: 'bottom'
}
}
}]
}
var chart = new ApexCharts(document.querySelector("#chart"), options);
chart.render();
ApexCharts provides options to export your charts as images or CSV files, making it easy to share your data.