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:'12/30/2022',y:[429.00,436.00,425.50,433.50]},{ x:'01/03/2023',y:[434.50,439.00,428.50,433.50]},{ x:'01/04/2023',y:[435.00,445.00,434.00,444.00]},{ x:'01/05/2023',y:[446.50,449.00,441.00,445.00]},{ x:'01/06/2023',y:[450.00,464.00,446.00,453.00]},{ x:'01/09/2023',y:[457.50,476.00,455.50,476.00]},{ x:'01/10/2023',y:[485.00,488.00,477.50,483.50]},{ x:'01/11/2023',y:[492.00,498.00,478.50,481.50]},{ x:'01/12/2023',y:[484.50,484.50,469.00,474.00]},{ x:'01/13/2023',y:[478.00,478.00,466.00,466.50]},{ x:'01/16/2023',y:[468.00,475.00,468.00,472.00]},{ x:'01/17/2023',y:[475.00,482.50,473.50,481.00]},{ x:'01/30/2023',y:[486.00,495.50,482.00,495.00]},{ x:'01/31/2023',y:[495.50,497.00,487.00,494.50]},{ x:'02/01/2023',y:[497.50,518.00,495.50,517.00]},{ x:'02/02/2023',y:[517.00,521.00,510.00,518.00]},{ x:'02/03/2023',y:[521.00,525.00,508.00,524.00]},{ x:'02/06/2023',y:[525.00,529.00,500.00,500.00]},{ x:'02/07/2023',y:[502.00,519.00,502.00,516.00]},{ x:'02/08/2023',y:[518.00,526.00,513.00,514.00]},{ x:'02/09/2023',y:[514.00,518.00,506.00,507.00]},{ x:'02/10/2023',y:[508.00,515.00,506.00,508.00]},{ x:'02/13/2023',y:[504.00,508.00,500.00,502.00]},{ x:'02/14/2023',y:[508.00,513.00,501.00,503.00]},{ x:'02/15/2023',y:[502.00,509.00,502.00,508.00]},{ x:'02/16/2023',y:[510.00,511.00,507.00,509.00]},{ x:'02/17/2023',y:[505.00,518.00,505.00,517.00]},{ x:'02/20/2023',y:[522.00,522.00,508.00,508.00]},{ x:'02/21/2023',y:[508.00,511.00,502.00,505.00]},{ x:'02/22/2023',y:[503.00,505.00,489.00,497.50]},{ x:'02/23/2023',y:[498.50,512.00,497.50,508.00]},{ x:'02/24/2023',y:[511.00,513.00,501.00,505.00]},{ x:'03/01/2023',y:[503.00,519.00,498.00,519.00]},{ 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]} ] }], 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());