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/31/2023',y:[614.00,625.00,610.00,613.00]},{ x:'08/01/2023',y:[617.00,617.00,608.00,609.00]},{ x:'08/02/2023',y:[612.00,623.00,605.00,606.00]},{ x:'08/04/2023',y:[608.00,616.00,606.00,616.00]},{ x:'08/07/2023',y:[616.00,617.00,600.00,602.00]},{ x:'08/08/2023',y:[609.00,610.00,589.00,591.00]},{ x:'08/09/2023',y:[593.00,596.00,582.00,586.00]},{ x:'08/10/2023',y:[590.00,590.00,570.00,572.00]},{ x:'08/11/2023',y:[572.00,583.00,572.00,577.00]},{ x:'08/14/2023',y:[577.00,578.00,556.00,560.00]},{ x:'08/15/2023',y:[568.00,575.00,563.00,567.00]},{ x:'08/16/2023',y:[565.00,565.00,553.00,559.00]},{ x:'08/17/2023',y:[559.00,572.00,554.00,571.00]},{ x:'08/18/2023',y:[571.00,573.00,561.00,562.00]},{ x:'08/21/2023',y:[563.00,567.00,559.00,563.00]},{ x:'08/22/2023',y:[566.00,568.00,552.00,554.00]},{ x:'08/23/2023',y:[557.00,560.00,553.00,558.00]},{ x:'08/24/2023',y:[561.00,574.00,560.00,567.00]},{ x:'08/25/2023',y:[563.00,564.00,558.00,559.00]},{ x:'08/28/2023',y:[563.00,564.00,552.00,557.00]},{ x:'08/29/2023',y:[557.00,561.00,555.00,561.00]},{ x:'08/30/2023',y:[563.00,570.00,563.00,568.00]},{ x:'08/31/2023',y:[568.00,585.00,568.00,575.00]},{ x:'09/01/2023',y:[575.00,576.00,566.00,566.00]},{ x:'09/04/2023',y:[566.00,577.00,561.00,577.00]},{ x:'09/05/2023',y:[575.00,587.00,575.00,587.00]},{ x:'09/06/2023',y:[600.00,617.00,596.00,608.00]},{ x:'09/07/2023',y:[607.00,617.00,603.00,607.00]},{ x:'09/08/2023',y:[610.00,613.00,604.00,604.00]},{ x:'09/11/2023',y:[607.00,610.00,589.00,609.00]},{ x:'09/12/2023',y:[614.00,627.00,607.00,607.00]},{ x:'09/13/2023',y:[609.00,613.00,602.00,609.00]},{ x:'09/14/2023',y:[611.00,614.00,605.00,610.00]},{ x:'09/15/2023',y:[613.00,621.00,611.00,620.00]},{ x:'09/18/2023',y:[620.00,625.00,617.00,617.00]},{ x:'09/19/2023',y:[617.00,626.00,614.00,623.00]},{ x:'09/20/2023',y:[629.00,629.00,612.00,612.00]},{ x:'09/21/2023',y:[612.00,615.00,608.00,610.00]},{ x:'09/22/2023',y:[608.00,624.00,608.00,624.00]},{ x:'09/25/2023',y:[626.00,644.00,624.00,643.00]},{ x:'09/26/2023',y:[645.00,665.00,638.00,641.00]},{ x:'09/27/2023',y:[641.00,656.00,640.00,654.00]},{ x:'09/28/2023',y:[658.00,666.00,647.00,652.00]},{ x:'10/02/2023',y:[660.00,665.00,652.00,652.00]},{ x:'10/03/2023',y:[654.00,656.00,636.00,638.00]},{ x:'10/04/2023',y:[635.00,645.00,627.00,644.00]},{ x:'10/05/2023',y:[643.00,648.00,640.00,643.00]},{ x:'10/06/2023',y:[642.00,643.00,633.00,633.00]},{ x:'10/11/2023',y:[635.00,639.00,625.00,625.00]},{ x:'10/12/2023',y:[625.00,635.00,625.00,630.00]},{ x:'10/13/2023',y:[625.00,626.00,615.00,619.00]},{ x:'10/18/2023',y:[626.00,627.00,614.00,617.00]},{ x:'10/19/2023',y:[615.00,620.00,614.00,618.00]},{ x:'10/20/2023',y:[613.00,620.00,613.00,620.00]},{ x:'10/23/2023',y:[622.00,629.00,619.00,619.00]},{ x:'10/24/2023',y:[620.00,624.00,618.00,623.00]},{ x:'10/25/2023',y:[625.00,631.00,625.00,629.00]},{ x:'10/26/2023',y:[624.00,630.00,621.00,623.00]},{ x:'10/27/2023',y:[623.00,626.00,612.00,612.00]},{ x:'10/31/2023',y:[620.00,629.00,619.00,623.00]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "3293 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());