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:'03/02/2023',y:[519.00,525.00,517.00,521.00]},{ x:'03/03/2023',y:[524.00,542.00,520.00,536.00]},{ x:'03/06/2023',y:[538.00,573.00,536.00,566.00]},{ x:'03/07/2023',y:[562.00,576.00,555.00,559.00]},{ x:'03/08/2023',y:[552.00,572.00,547.00,572.00]},{ x:'03/09/2023',y:[580.00,591.00,576.00,580.00]},{ x:'03/10/2023',y:[572.00,583.00,565.00,567.00]},{ x:'03/13/2023',y:[562.00,576.00,548.00,575.00]},{ x:'03/14/2023',y:[568.00,584.00,568.00,575.00]},{ x:'03/15/2023',y:[582.00,586.00,562.00,562.00]},{ x:'03/16/2023',y:[561.00,563.00,548.00,548.00]},{ x:'03/17/2023',y:[558.00,562.00,551.00,560.00]},{ x:'03/20/2023',y:[561.00,562.00,548.00,552.00]},{ x:'03/21/2023',y:[556.00,558.00,548.00,549.00]},{ x:'03/22/2023',y:[555.00,567.00,554.00,561.00]},{ x:'03/23/2023',y:[555.00,563.00,553.00,562.00]},{ x:'03/24/2023',y:[567.00,567.00,558.00,563.00]},{ x:'03/27/2023',y:[566.00,580.00,561.00,573.00]},{ x:'03/28/2023',y:[575.00,577.00,556.00,559.00]},{ x:'03/29/2023',y:[561.00,577.00,560.00,570.00]},{ x:'03/30/2023',y:[574.00,579.00,563.00,564.00]},{ x:'03/31/2023',y:[568.00,572.00,563.00,572.00]},{ x:'04/06/2023',y:[573.00,573.00,546.00,548.00]},{ x:'04/07/2023',y:[547.00,554.00,545.00,545.00]},{ x:'04/10/2023',y:[546.00,555.00,546.00,550.00]},{ x:'04/11/2023',y:[552.00,555.00,536.00,538.00]},{ x:'04/12/2023',y:[534.00,545.00,526.00,540.00]},{ x:'04/13/2023',y:[542.00,544.00,535.00,535.00]},{ x:'04/14/2023',y:[542.00,555.00,536.00,551.00]},{ x:'04/17/2023',y:[553.00,557.00,542.00,545.00]},{ x:'04/18/2023',y:[545.00,551.00,542.00,542.00]},{ x:'04/19/2023',y:[544.00,546.00,535.00,535.00]},{ x:'04/20/2023',y:[534.00,536.00,527.00,527.00]},{ x:'04/21/2023',y:[528.00,528.00,503.00,505.00]},{ x:'04/24/2023',y:[505.00,524.00,505.00,520.00]},{ x:'04/25/2023',y:[520.00,525.00,512.00,518.00]},{ x:'04/26/2023',y:[515.00,520.00,510.00,513.00]},{ x:'04/27/2023',y:[515.00,526.00,514.00,523.00]},{ x:'04/28/2023',y:[528.00,536.00,524.00,535.00]},{ x:'05/02/2023',y:[543.00,544.00,532.00,534.00]},{ x:'05/03/2023',y:[534.00,543.00,528.00,538.00]},{ x:'05/04/2023',y:[543.00,545.00,536.00,538.00]},{ x:'05/05/2023',y:[549.00,552.00,540.00,540.00]},{ x:'05/08/2023',y:[548.00,562.00,545.00,556.00]},{ x:'05/09/2023',y:[565.00,569.00,553.00,559.00]},{ x:'05/10/2023',y:[563.00,565.00,556.00,559.00]},{ x:'05/11/2023',y:[563.00,564.00,556.00,560.00]},{ x:'05/12/2023',y:[556.00,566.00,556.00,564.00]},{ 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]} ] }], 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());