ApexCharts Candlestick
A financial candlestick chart, via ApexCharts.
Requires Bootstrap 5, ApexCharts. Add the CDN tags below to your page (styles in
<head>, scripts before </body>). The downloaded file already includes them.<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"><script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script><script src="https://cdn.jsdelivr.net/npm/apexcharts@3.49.1/dist/apexcharts.min.js"></script><div class="card border-0 shadow-sm" style="width:420px;max-width:100%"><div class="card-body"><h6 class="fw-bold mb-2">Price (candlestick)</h6><div id="axCandle"></div></div></div>var day=0;function c(o,h,l,cl){day++;return {x:new Date(2026,0,day),y:[o,h,l,cl]};}
new ApexCharts(document.getElementById('axCandle'),{chart:{type:'candlestick',height:220,toolbar:{show:false}},series:[{data:[c(30,38,28,34),c(34,40,32,33),c(33,36,30,35),c(35,42,34,40),c(40,44,38,39)]}]}).render();Free to use.This component uses Bootstrap 5, ApexCharts (linked above). Copy any file, or download a ready-to-open .html page with the CDN links already included.