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:'05/15/2023',y:[567.00,567.00,546.00,548.00]},{ x:'05/16/2023',y:[555.00,555.00,546.00,546.00]},{ x:'05/17/2023',y:[546.00,553.00,544.00,549.00]},{ x:'05/18/2023',y:[551.00,560.00,551.00,554.00]},{ x:'05/19/2023',y:[555.00,556.00,546.00,547.00]},{ x:'05/22/2023',y:[547.00,550.00,544.00,548.00]},{ x:'05/23/2023',y:[549.00,560.00,546.00,558.00]},{ x:'05/24/2023',y:[555.00,556.00,550.00,552.00]},{ x:'05/25/2023',y:[559.00,559.00,552.00,558.00]},{ x:'05/26/2023',y:[556.00,558.00,550.00,550.00]},{ x:'05/29/2023',y:[552.00,565.00,551.00,562.00]},{ x:'05/30/2023',y:[561.00,563.00,554.00,555.00]},{ x:'05/31/2023',y:[555.00,575.00,554.00,567.00]},{ x:'06/01/2023',y:[565.00,600.00,565.00,595.00]},{ x:'06/02/2023',y:[602.00,645.00,602.00,631.00]},{ x:'06/05/2023',y:[645.00,655.00,626.00,631.00]},{ x:'06/06/2023',y:[636.00,648.00,623.00,628.00]},{ x:'06/07/2023',y:[633.00,642.00,627.00,630.00]},{ x:'06/08/2023',y:[641.00,644.00,630.00,633.00]},{ x:'06/09/2023',y:[639.00,639.00,612.00,616.00]},{ x:'06/12/2023',y:[617.00,630.00,612.00,617.00]},{ x:'06/13/2023',y:[627.00,627.00,618.00,622.00]},{ x:'06/14/2023',y:[622.00,626.00,617.00,619.00]},{ x:'06/15/2023',y:[620.00,620.00,605.00,608.00]},{ x:'06/16/2023',y:[608.00,613.00,604.00,608.00]},{ x:'06/19/2023',y:[615.00,615.00,607.00,609.00]},{ x:'06/20/2023',y:[612.00,638.00,610.00,624.00]},{ x:'06/21/2023',y:[624.00,624.00,607.00,608.00]},{ x:'06/26/2023',y:[610.00,629.00,605.00,624.00]},{ x:'06/27/2023',y:[624.00,644.00,624.00,632.00]},{ x:'06/28/2023',y:[636.00,638.00,614.00,614.00]},{ x:'06/29/2023',y:[621.00,622.00,614.00,618.00]},{ x:'06/30/2023',y:[620.00,630.00,612.00,618.00]},{ x:'07/03/2023',y:[620.00,622.00,608.00,610.00]},{ x:'07/04/2023',y:[610.00,619.00,608.00,619.00]},{ x:'07/05/2023',y:[615.00,624.00,614.00,620.00]},{ x:'07/06/2023',y:[618.00,632.00,610.00,610.00]},{ x:'07/07/2023',y:[615.00,619.00,607.00,609.00]},{ x:'07/10/2023',y:[612.00,625.00,611.00,620.00]},{ x:'07/11/2023',y:[625.00,641.00,620.00,640.00]},{ x:'07/12/2023',y:[648.00,655.00,635.00,638.00]},{ x:'07/13/2023',y:[645.00,652.00,639.00,643.00]},{ x:'07/14/2023',y:[654.00,656.00,642.00,652.00]},{ x:'07/17/2023',y:[632.00,632.00,617.00,619.00]},{ x:'07/18/2023',y:[625.00,647.00,622.00,642.00]},{ x:'07/19/2023',y:[645.00,661.00,634.00,659.00]},{ x:'07/20/2023',y:[669.00,672.00,638.00,641.00]},{ x:'07/21/2023',y:[633.00,648.00,631.00,641.00]},{ x:'07/24/2023',y:[644.00,644.00,631.00,631.00]},{ x:'07/25/2023',y:[640.00,640.00,617.00,617.00]},{ x:'07/26/2023',y:[623.00,625.00,612.00,615.00]},{ x:'07/27/2023',y:[623.00,623.00,612.00,614.00]},{ x:'07/28/2023',y:[615.00,617.00,610.00,613.00]},{ 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]} ] }], 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());