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/06/2023',y:[612.00,612.00,578.00,589.00]},{ x:'11/07/2023',y:[589.00,601.00,585.00,592.00]},{ x:'11/08/2023',y:[596.00,606.00,594.00,594.00]},{ x:'11/09/2023',y:[599.00,599.00,569.00,570.00]},{ x:'11/10/2023',y:[567.00,585.00,562.00,579.00]},{ x:'11/13/2023',y:[588.00,588.00,576.00,580.00]},{ x:'11/14/2023',y:[584.00,611.00,584.00,604.00]},{ x:'11/15/2023',y:[616.00,633.00,596.00,603.00]},{ x:'11/16/2023',y:[608.00,608.00,595.00,605.00]},{ x:'11/17/2023',y:[606.00,613.00,599.00,613.00]},{ x:'11/20/2023',y:[620.00,629.00,605.00,623.00]},{ x:'11/21/2023',y:[635.00,635.00,605.00,607.00]},{ x:'11/22/2023',y:[607.00,612.00,594.00,597.00]},{ x:'11/23/2023',y:[597.00,613.00,597.00,603.00]},{ x:'11/24/2023',y:[607.00,607.00,593.00,595.00]},{ x:'11/27/2023',y:[596.00,602.00,585.00,585.00]},{ x:'11/28/2023',y:[590.00,602.00,581.00,597.00]},{ x:'11/29/2023',y:[599.00,625.00,597.00,624.00]},{ x:'11/30/2023',y:[630.00,652.00,623.00,648.00]},{ x:'12/01/2023',y:[644.00,653.00,641.00,645.00]},{ x:'12/04/2023',y:[646.00,653.00,633.00,650.00]},{ x:'12/05/2023',y:[647.00,653.00,636.00,650.00]},{ x:'12/06/2023',y:[650.00,651.00,633.00,633.00]},{ x:'12/07/2023',y:[637.00,646.00,630.00,640.00]},{ x:'12/08/2023',y:[655.00,674.00,652.00,669.00]},{ x:'12/11/2023',y:[664.00,664.00,649.00,654.00]},{ x:'12/12/2023',y:[656.00,675.00,655.00,667.00]},{ x:'12/18/2023',y:[701.00,730.00,695.00,720.00]},{ x:'12/19/2023',y:[714.00,717.00,688.00,696.00]},{ x:'01/10/2024',y:[710.00,715.00,700.00,713.00]},{ x:'01/11/2024',y:[716.00,719.00,703.00,707.00]},{ x:'01/12/2024',y:[710.00,737.00,698.00,706.00]},{ x:'01/15/2024',y:[712.00,717.00,697.00,700.00]},{ x:'01/16/2024',y:[700.00,726.00,696.00,717.00]},{ x:'01/17/2024',y:[716.00,744.00,716.00,731.00]},{ x:'01/18/2024',y:[731.00,743.00,704.00,706.00]},{ x:'01/19/2024',y:[720.00,740.00,714.00,733.00]},{ x:'01/22/2024',y:[733.00,750.00,716.00,749.00]},{ x:'01/23/2024',y:[759.00,759.00,739.00,754.00]},{ x:'01/24/2024',y:[761.00,761.00,722.00,725.00]},{ x:'01/25/2024',y:[732.00,742.00,723.00,723.00]},{ x:'01/26/2024',y:[731.00,748.00,726.00,729.00]},{ x:'01/29/2024',y:[727.00,733.00,712.00,716.00]},{ x:'01/30/2024',y:[719.00,758.00,719.00,752.00]},{ x:'01/31/2024',y:[742.00,754.00,735.00,750.00]},{ x:'02/01/2024',y:[749.00,772.00,742.00,756.00]},{ x:'02/02/2024',y:[770.00,830.00,770.00,821.00]},{ x:'02/05/2024',y:[818.00,829.00,805.00,828.00]},{ x:'02/15/2024',y:[835.00,865.00,835.00,849.00]},{ x:'02/16/2024',y:[857.00,860.00,828.00,859.00]},{ x:'02/19/2024',y:[844.00,850.00,829.00,832.00]},{ x:'02/20/2024',y:[832.00,832.00,807.00,820.00]},{ x:'02/21/2024',y:[800.00,814.00,797.00,805.00]},{ x:'02/22/2024',y:[813.00,840.00,813.00,839.00]},{ x:'02/23/2024',y:[853.00,876.00,848.00,855.00]},{ x:'02/26/2024',y:[851.00,925.00,835.00,915.00]},{ x:'02/27/2024',y:[912.00,924.00,886.00,901.00]},{ x:'02/29/2024',y:[893.00,938.00,883.00,919.00]},{ x:'03/01/2024',y:[946.00,994.00,940.00,962.00]},{ x:'03/04/2024',y:[989.00,1005.00,960.00,980.00]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "3653 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());