function getChartColorsArray(e) { if (null !== document.getElementById(e)) { e = document.getElementById(e).getAttribute("data-colors"); if (e) return (e = JSON.parse(e)).map(function(e) { var t = e.replace(" ", ""); return -1 === t.indexOf(",") ? getComputedStyle(document.documentElement).getPropertyValue(t) || t : 2 == (e = e.split(",")).length ? "rgba(" + getComputedStyle(document.documentElement).getPropertyValue(e[0]) + "," + e[1] + ")" : t }) } } var chartCandlestickBasicColors = getChartColorsArray("basic_candlestick"), chartCandlestickComboColors = (chartCandlestickBasicColors && (options = { series: [{ data: [ { x:'03/19/2024',y:[78.50,79.40,77.50,78.00]},{ x:'03/20/2024',y:[78.70,79.20,77.50,77.50]},{ x:'03/21/2024',y:[79.80,85.10,79.80,83.60]},{ x:'03/22/2024',y:[83.80,84.40,80.60,80.80]},{ x:'03/25/2024',y:[80.40,81.20,80.00,80.00]},{ x:'03/26/2024',y:[82.20,83.70,78.90,78.90]},{ x:'03/27/2024',y:[79.80,80.70,78.50,80.10]},{ x:'03/28/2024',y:[79.90,80.80,79.00,79.00]},{ x:'03/29/2024',y:[80.00,80.50,78.90,79.00]},{ x:'04/01/2024',y:[79.40,80.90,79.40,80.10]},{ x:'04/02/2024',y:[82.00,85.60,81.90,82.70]},{ x:'04/03/2024',y:[83.10,83.80,82.30,83.80]},{ x:'04/08/2024',y:[84.70,87.00,83.80,85.50]},{ x:'04/09/2024',y:[87.50,87.50,84.50,85.60]},{ x:'04/10/2024',y:[86.00,93.30,85.10,90.00]},{ x:'04/11/2024',y:[90.00,92.40,88.50,89.50]},{ x:'04/12/2024',y:[90.00,92.30,89.10,89.90]},{ x:'04/15/2024',y:[89.70,89.80,86.20,87.60]},{ x:'04/16/2024',y:[86.80,87.00,80.10,81.00]},{ x:'04/17/2024',y:[81.70,82.50,80.90,81.20]},{ x:'04/18/2024',y:[81.10,81.90,79.60,81.90]},{ x:'04/19/2024',y:[81.50,82.90,77.10,80.20]},{ x:'04/22/2024',y:[80.20,81.60,77.50,77.90]},{ x:'04/23/2024',y:[79.00,79.60,78.10,78.90]},{ x:'04/24/2024',y:[80.50,82.80,80.30,82.50]},{ x:'04/25/2024',y:[82.20,88.50,81.70,85.60]},{ x:'04/26/2024',y:[87.50,90.80,86.60,87.50]},{ x:'04/29/2024',y:[88.00,88.60,86.10,86.90]},{ x:'04/30/2024',y:[87.60,90.20,86.30,89.80]},{ x:'05/02/2024',y:[89.30,94.20,87.80,93.50]},{ x:'05/03/2024',y:[94.00,98.60,91.80,94.70]},{ x:'05/06/2024',y:[104.00,104.00,100.50,104.00]},{ x:'05/07/2024',y:[109.50,114.00,109.00,114.00]},{ x:'05/08/2024',y:[116.00,119.50,112.50,117.50]},{ x:'05/09/2024',y:[118.00,119.00,109.50,110.00]},{ x:'05/10/2024',y:[112.00,114.00,106.50,112.50]},{ x:'05/13/2024',y:[115.50,115.50,106.50,107.00]},{ x:'05/14/2024',y:[106.50,108.00,105.00,107.00]},{ x:'05/15/2024',y:[108.00,109.00,106.50,107.50]},{ x:'05/16/2024',y:[108.00,109.00,103.50,106.50]},{ x:'05/17/2024',y:[105.00,106.50,103.50,104.00]},{ x:'05/20/2024',y:[104.50,106.50,103.00,104.00]},{ x:'05/21/2024',y:[106.00,110.00,105.00,106.50]},{ x:'05/22/2024',y:[106.50,109.00,104.50,107.00]},{ x:'05/23/2024',y:[107.50,109.50,105.50,106.00]},{ x:'05/24/2024',y:[106.00,115.50,106.00,112.00]},{ x:'06/11/2024',y:[149.00,152.00,144.00,146.50]},{ x:'06/12/2024',y:[147.00,161.00,145.50,161.00]},{ x:'06/13/2024',y:[172.00,177.00,162.50,168.00]},{ x:'06/14/2024',y:[167.00,184.50,164.50,179.00]},{ x:'06/17/2024',y:[161.50,163.50,161.50,161.50]},{ x:'06/18/2024',y:[155.00,157.50,145.50,149.50]},{ x:'06/19/2024',y:[152.00,153.00,138.50,140.50]},{ x:'06/20/2024',y:[141.50,150.00,140.50,148.50]},{ x:'06/21/2024',y:[147.00,148.00,143.00,148.00]},{ x:'06/24/2024',y:[149.00,155.00,145.00,146.50]},{ x:'06/25/2024',y:[146.00,148.50,141.00,146.50]},{ x:'06/26/2024',y:[147.00,151.00,145.50,146.00]},{ x:'06/27/2024',y:[145.00,149.00,145.00,146.50]},{ x:'06/28/2024',y:[147.50,152.00,146.50,148.50]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "4967 Daily 股市資訊", align: "left", style: { fontWeight: 500 } }, xaxis: { labels: { format: 'dd/MM', } }, yaxis: { tooltip: { enabled: !0 } } }, (chart = new ApexCharts(document.querySelector("#basic_candlestick"), options)).render()), (chart = new ApexCharts(document.querySelector("#1"), options)).render());