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:'09/01/2023',y:[650.00,660.00,643.00,646.00]},{ x:'09/04/2023',y:[649.00,649.00,628.00,639.00]},{ x:'09/05/2023',y:[645.00,648.00,634.00,639.00]},{ x:'09/06/2023',y:[639.00,644.00,633.00,634.00]},{ x:'09/07/2023',y:[630.00,650.00,624.00,646.00]},{ x:'09/08/2023',y:[651.00,673.00,648.00,660.00]},{ x:'09/11/2023',y:[666.00,671.00,635.00,640.00]},{ x:'09/12/2023',y:[643.00,658.00,633.00,637.00]},{ x:'09/13/2023',y:[637.00,642.00,630.00,636.00]},{ x:'09/14/2023',y:[637.00,661.00,637.00,654.00]},{ x:'09/15/2023',y:[660.00,663.00,620.00,620.00]},{ x:'09/18/2023',y:[620.00,639.00,617.00,630.00]},{ x:'09/19/2023',y:[637.00,637.00,584.00,586.00]},{ x:'09/20/2023',y:[592.00,602.00,586.00,590.00]},{ x:'09/21/2023',y:[587.00,603.00,573.00,596.00]},{ x:'09/22/2023',y:[590.00,602.00,587.00,601.00]},{ x:'09/25/2023',y:[605.00,616.00,597.00,600.00]},{ x:'09/26/2023',y:[604.00,625.00,600.00,602.00]},{ x:'09/27/2023',y:[608.00,612.00,600.00,601.00]},{ x:'09/28/2023',y:[608.00,634.00,608.00,623.00]},{ x:'10/02/2023',y:[635.00,674.00,635.00,655.00]},{ x:'10/03/2023',y:[650.00,666.00,640.00,652.00]},{ x:'10/04/2023',y:[644.00,648.00,637.00,642.00]},{ x:'10/05/2023',y:[653.00,657.00,638.00,643.00]},{ x:'10/06/2023',y:[645.00,647.00,630.00,630.00]},{ x:'10/11/2023',y:[632.00,642.00,623.00,624.00]},{ x:'10/12/2023',y:[628.00,637.00,625.00,632.00]},{ x:'10/13/2023',y:[637.00,637.00,625.00,632.00]},{ x:'10/18/2023',y:[624.00,628.00,576.00,583.00]},{ x:'10/19/2023',y:[578.00,612.00,571.00,612.00]},{ x:'10/20/2023',y:[605.00,617.00,593.00,607.00]},{ x:'10/23/2023',y:[601.00,604.00,587.00,587.00]},{ x:'10/24/2023',y:[590.00,594.00,579.00,586.00]},{ x:'10/25/2023',y:[589.00,602.00,589.00,599.00]},{ x:'10/26/2023',y:[590.00,594.00,563.00,563.00]},{ x:'10/27/2023',y:[571.00,578.00,558.00,568.00]},{ x:'10/31/2023',y:[590.00,598.00,571.00,575.00]},{ x:'11/01/2023',y:[576.00,589.00,572.00,585.00]},{ x:'11/02/2023',y:[615.00,635.00,612.00,623.00]},{ x:'11/03/2023',y:[630.00,630.00,605.00,605.00]},{ 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]} ] }], 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());