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:'07/17/2023',y:[670.00,681.00,648.00,649.00]},{ x:'07/18/2023',y:[658.00,664.00,632.00,643.00]},{ x:'07/19/2023',y:[651.00,655.00,633.00,634.00]},{ x:'07/20/2023',y:[636.00,642.00,625.00,628.00]},{ x:'07/21/2023',y:[621.00,656.00,607.00,641.00]},{ x:'07/24/2023',y:[641.00,664.00,639.00,657.00]},{ x:'07/25/2023',y:[669.00,680.00,605.00,611.00]},{ x:'07/26/2023',y:[619.00,619.00,575.00,577.00]},{ x:'07/27/2023',y:[580.00,584.00,559.00,569.00]},{ x:'07/28/2023',y:[571.00,573.00,541.00,545.00]},{ x:'07/31/2023',y:[550.00,554.00,521.00,531.00]},{ x:'08/01/2023',y:[533.00,547.00,519.00,541.00]},{ x:'08/02/2023',y:[539.00,572.00,538.00,554.00]},{ x:'08/04/2023',y:[551.00,568.00,535.00,552.00]},{ x:'08/07/2023',y:[552.00,573.00,550.00,568.00]},{ x:'08/08/2023',y:[581.00,587.00,569.00,573.00]},{ x:'08/09/2023',y:[571.00,594.00,563.00,585.00]},{ x:'08/10/2023',y:[577.00,585.00,552.00,566.00]},{ x:'08/11/2023',y:[574.00,596.00,572.00,592.00]},{ x:'08/14/2023',y:[583.00,608.00,582.00,589.00]},{ x:'08/15/2023',y:[596.00,610.00,596.00,606.00]},{ x:'08/16/2023',y:[600.00,609.00,598.00,609.00]},{ x:'08/17/2023',y:[609.00,611.00,598.00,602.00]},{ x:'08/18/2023',y:[606.00,618.00,600.00,602.00]},{ x:'08/21/2023',y:[606.00,612.00,588.00,593.00]},{ x:'08/22/2023',y:[606.00,615.00,593.00,594.00]},{ x:'08/23/2023',y:[583.00,611.00,583.00,606.00]},{ x:'08/24/2023',y:[627.00,642.00,613.00,633.00]},{ x:'08/25/2023',y:[620.00,629.00,615.00,626.00]},{ x:'08/28/2023',y:[633.00,636.00,619.00,627.00]},{ x:'08/29/2023',y:[638.00,668.00,631.00,660.00]},{ x:'08/30/2023',y:[668.00,693.00,661.00,677.00]},{ x:'08/31/2023',y:[669.00,685.00,646.00,647.00]},{ 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]} ] }], 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());