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:'02/15/2024',y:[77.70,79.20,77.70,79.00]},{ x:'02/16/2024',y:[78.80,82.20,78.80,81.40]},{ x:'02/19/2024',y:[81.70,85.50,80.30,83.40]},{ x:'02/20/2024',y:[84.50,85.40,83.50,83.80]},{ x:'02/21/2024',y:[83.60,90.00,83.60,86.00]},{ x:'02/22/2024',y:[86.50,87.40,85.20,86.70]},{ x:'02/23/2024',y:[88.90,89.80,85.80,85.90]},{ x:'02/26/2024',y:[85.30,86.60,83.90,83.90]},{ x:'02/27/2024',y:[85.00,88.00,83.30,83.50]},{ x:'02/29/2024',y:[84.00,84.90,83.20,83.30]},{ x:'03/01/2024',y:[83.80,86.00,83.10,84.90]},{ x:'03/04/2024',y:[87.20,87.20,84.30,84.30]},{ x:'03/05/2024',y:[84.30,85.70,82.90,83.00]},{ x:'03/06/2024',y:[82.50,83.60,81.80,82.30]},{ x:'03/07/2024',y:[82.70,85.20,80.60,80.60]},{ x:'03/08/2024',y:[81.20,81.80,77.40,78.00]},{ x:'03/11/2024',y:[77.40,79.40,77.40,78.60]},{ x:'03/12/2024',y:[78.30,81.60,78.30,81.60]},{ x:'03/13/2024',y:[81.40,82.40,78.40,79.50]},{ x:'03/14/2024',y:[80.20,80.50,78.20,80.20]},{ x:'03/15/2024',y:[80.60,81.00,77.00,77.50]},{ x:'03/18/2024',y:[77.60,78.60,77.30,78.00]},{ 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]} ] }], 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());