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:'01/22/2024',y:[589.00,595.00,585.00,589.00]},{ x:'01/23/2024',y:[592.00,599.00,586.00,597.00]},{ x:'01/24/2024',y:[599.00,599.00,592.00,592.00]},{ x:'01/25/2024',y:[592.00,595.00,587.00,594.00]},{ x:'01/26/2024',y:[591.00,591.00,582.00,584.00]},{ x:'01/29/2024',y:[582.00,590.00,580.00,588.00]},{ x:'01/30/2024',y:[587.00,590.00,585.00,586.00]},{ x:'01/31/2024',y:[584.00,587.00,579.00,579.00]},{ x:'02/01/2024',y:[579.00,581.00,573.00,577.00]},{ x:'02/02/2024',y:[579.00,582.00,576.00,579.00]},{ x:'02/05/2024',y:[579.00,584.00,574.00,579.00]},{ x:'02/15/2024',y:[578.00,578.00,550.00,555.00]},{ x:'02/16/2024',y:[546.00,562.00,546.00,562.00]},{ x:'02/19/2024',y:[560.00,564.00,554.00,560.00]},{ x:'02/20/2024',y:[560.00,563.00,554.00,560.00]},{ x:'02/21/2024',y:[560.00,568.00,558.00,562.00]},{ x:'02/22/2024',y:[564.00,575.00,564.00,575.00]},{ x:'02/23/2024',y:[580.00,582.00,568.00,568.00]},{ x:'02/26/2024',y:[570.00,581.00,569.00,575.00]},{ x:'02/27/2024',y:[572.00,579.00,555.00,555.00]},{ x:'02/29/2024',y:[555.00,564.00,555.00,558.00]},{ x:'03/01/2024',y:[556.00,561.00,548.00,560.00]},{ x:'03/04/2024',y:[565.00,573.00,563.00,572.00]},{ x:'03/05/2024',y:[576.00,582.00,571.00,575.00]},{ x:'03/06/2024',y:[572.00,578.00,569.00,576.00]},{ x:'03/07/2024',y:[586.00,604.00,586.00,596.00]},{ x:'03/08/2024',y:[600.00,638.00,600.00,606.00]},{ x:'03/11/2024',y:[606.00,618.00,600.00,608.00]},{ x:'03/12/2024',y:[605.00,613.00,601.00,612.00]},{ x:'03/13/2024',y:[624.00,624.00,600.00,609.00]},{ x:'03/14/2024',y:[603.00,603.00,587.00,592.00]},{ x:'03/15/2024',y:[585.00,586.00,567.00,576.00]},{ x:'03/18/2024',y:[579.00,582.00,573.00,576.00]},{ x:'03/19/2024',y:[576.00,600.00,574.00,593.00]},{ x:'03/20/2024',y:[598.00,607.00,591.00,594.00]},{ x:'03/21/2024',y:[610.00,612.00,598.00,607.00]},{ x:'03/22/2024',y:[603.00,605.00,585.00,592.00]},{ x:'03/25/2024',y:[593.00,595.00,581.00,582.00]},{ x:'03/26/2024',y:[575.00,583.00,564.00,565.00]},{ x:'03/27/2024',y:[545.00,553.00,540.00,548.00]},{ x:'03/28/2024',y:[545.00,558.00,545.00,555.00]},{ x:'03/29/2024',y:[551.00,584.00,548.00,580.00]},{ x:'04/01/2024',y:[560.00,568.00,560.00,563.00]},{ x:'04/02/2024',y:[562.00,565.00,558.00,558.00]},{ x:'04/03/2024',y:[553.00,561.00,548.00,555.00]},{ x:'04/08/2024',y:[551.00,555.00,544.00,551.00]},{ x:'04/09/2024',y:[550.00,555.00,547.00,551.00]},{ x:'04/10/2024',y:[554.00,559.00,553.00,553.00]},{ x:'04/11/2024',y:[552.00,553.00,545.00,545.00]},{ x:'04/12/2024',y:[545.00,557.00,544.00,545.00]},{ x:'04/15/2024',y:[545.00,552.00,541.00,545.00]},{ x:'04/16/2024',y:[545.00,545.00,535.00,535.00]},{ x:'04/17/2024',y:[540.00,547.00,538.00,544.00]},{ x:'04/18/2024',y:[542.00,553.00,542.00,547.00]},{ x:'04/19/2024',y:[540.00,541.00,520.00,520.00]},{ x:'04/22/2024',y:[522.00,522.00,501.00,503.00]},{ x:'04/23/2024',y:[507.00,512.00,502.00,504.00]},{ x:'04/24/2024',y:[518.00,527.00,513.00,525.00]},{ x:'04/25/2024',y:[516.00,517.00,507.00,507.00]},{ x:'04/26/2024',y:[514.00,516.00,511.00,511.00]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "6488 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());