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:'11/21/2022',y:[736.00,752.00,726.00,735.00]},{ x:'11/22/2022',y:[728.00,737.00,693.00,718.00]},{ x:'11/23/2022',y:[718.00,727.00,698.00,706.00]},{ x:'11/24/2022',y:[715.00,745.00,709.00,745.00]},{ x:'11/25/2022',y:[746.00,750.00,726.00,740.00]},{ x:'11/28/2022',y:[728.00,759.00,728.00,732.00]},{ x:'11/29/2022',y:[732.00,735.00,714.00,727.00]},{ x:'11/30/2022',y:[729.00,745.00,725.00,731.00]},{ x:'12/01/2022',y:[753.00,762.00,740.00,740.00]},{ x:'12/02/2022',y:[735.00,778.00,729.00,776.00]},{ x:'12/05/2022',y:[768.00,783.00,756.00,761.00]},{ x:'12/06/2022',y:[762.00,791.00,750.00,764.00]},{ x:'12/07/2022',y:[767.00,769.00,741.00,742.00]},{ x:'12/08/2022',y:[737.00,764.00,736.00,763.00]},{ x:'12/09/2022',y:[770.00,801.00,767.00,794.00]},{ x:'12/12/2022',y:[785.00,795.00,755.00,762.00]},{ x:'12/13/2022',y:[773.00,792.00,766.00,767.00]},{ x:'12/14/2022',y:[773.00,804.00,773.00,790.00]},{ x:'12/15/2022',y:[789.00,795.00,777.00,784.00]},{ x:'12/16/2022',y:[775.00,792.00,766.00,787.00]},{ x:'12/19/2022',y:[772.00,812.00,771.00,812.00]},{ x:'12/20/2022',y:[812.00,822.00,743.00,745.00]},{ x:'12/21/2022',y:[760.00,763.00,740.00,750.00]},{ x:'12/22/2022',y:[768.00,773.00,729.00,730.00]},{ x:'12/23/2022',y:[708.00,738.00,708.00,726.00]},{ x:'12/26/2022',y:[727.00,732.00,695.00,698.00]},{ x:'12/27/2022',y:[707.00,712.00,695.00,702.00]},{ x:'12/28/2022',y:[685.00,685.00,632.00,636.00]},{ x:'12/29/2022',y:[635.00,654.00,630.00,650.00]},{ x:'12/30/2022',y:[657.00,666.00,641.00,641.00]},{ x:'01/03/2023',y:[641.00,684.00,637.00,684.00]},{ x:'01/04/2023',y:[677.00,689.00,669.00,685.00]},{ x:'01/05/2023',y:[690.00,705.00,650.00,650.00]},{ x:'01/06/2023',y:[652.00,670.00,648.00,650.00]},{ x:'01/09/2023',y:[670.00,694.00,670.00,687.00]},{ x:'01/10/2023',y:[691.00,701.00,680.00,692.00]},{ x:'01/11/2023',y:[699.00,701.00,675.00,701.00]},{ x:'01/12/2023',y:[702.00,707.00,692.00,702.00]},{ x:'01/13/2023',y:[720.00,722.00,682.00,682.00]},{ x:'01/16/2023',y:[695.00,705.00,685.00,705.00]},{ x:'01/17/2023',y:[707.00,728.00,698.00,722.00]},{ x:'01/30/2023',y:[765.00,778.00,746.00,775.00]},{ x:'01/31/2023',y:[769.00,782.00,766.00,782.00]},{ x:'02/01/2023',y:[789.00,798.00,784.00,786.00]},{ x:'02/02/2023',y:[798.00,864.00,797.00,864.00]},{ x:'02/03/2023',y:[868.00,871.00,832.00,860.00]},{ x:'02/06/2023',y:[817.00,819.00,789.00,798.00]},{ x:'02/07/2023',y:[801.00,858.00,801.00,841.00]},{ x:'02/08/2023',y:[858.00,925.00,855.00,925.00]},{ x:'02/09/2023',y:[922.00,988.00,917.00,920.00]},{ x:'02/10/2023',y:[905.00,927.00,878.00,910.00]},{ x:'02/13/2023',y:[903.00,935.00,896.00,898.00]},{ x:'02/14/2023',y:[919.00,933.00,903.00,911.00]},{ x:'02/15/2023',y:[898.00,935.00,893.00,926.00]},{ x:'02/16/2023',y:[940.00,1010.00,934.00,958.00]},{ x:'02/17/2023',y:[958.00,983.00,943.00,976.00]},{ x:'02/20/2023',y:[980.00,1020.00,978.00,995.00]},{ x:'02/21/2023',y:[1010.00,1045.00,998.00,1035.00]},{ x:'02/22/2023',y:[1015.00,1020.00,984.00,1015.00]},{ x:'02/23/2023',y:[1050.00,1115.00,1045.00,1115.00]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "3443 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());