Get started with apexcharts CDN
MIT licensed
ApexCharts: Open-source library for interactive, customizable charts in React, Angular, and JS.
Tags:- charts
- graphs
- visualizations
- data
Stable version
Copied!
How to start using apexcharts CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with apexcharts CDN - cdnhub.io</title>
<script src="https://cdn.jsdelivr.net/npm/apexcharts/apexcharts.min.js"></script>
<style>
#chart {
width: 500px;
height: 300px;
}
</style>
</head>
<body>
<div id="chart"></div>
<script>
const chart = new ApexCharts(document.querySelector("#chart"), {
series: [{
data: [75, 111, 175, 122, 150, 220, 210, 180]
}],
options: {
chart: {
type: 'line',
height: 350
},
title: {
text: 'Line Chart Example'
},
dataLabels: {
enabled: false
},
stroke: {
curve: 'straight'
},
markers: {
size: 4,
colors: ['#F44336'],
strokeWidth: 0
},
xaxis: {
categories: ['F Jan', 'M Feb', 'A Mar', 'A Apr', 'M May', 'J Jun', 'J Jul', 'A Aug']
},
yaxis: {
title: {
text: 'Value'
}
}
}
});
chart.render();
</script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
All versions
1.0.1
1.0.2
1.0.4
1.0.5
1.1.0
1.1.1
1.1.2
1.2.0
1.2.1
1.2.2
1.2.3
1.2.4
1.3.0
1.3.10
1.3.11
1.3.12
1.3.13
1.3.14
1.3.15
1.3.16
1.3.17
1.3.18
1.3.19
1.3.2
1.3.20
1.3.21
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.12
1.4.13
1.4.2
1.4.3
1.4.4
1.4.5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
3.7.0
3.7.1
3.8.0
3.8.1
3.8.2
3.8.3
3.8.4
3.8.5
3.8.6
3.9.0
4.0.0
*** 4.1.0