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:'02/21/2023',y:[333.00,333.50,330.00,331.00]},{ x:'02/22/2023',y:[331.00,331.00,325.50,326.50]},{ x:'02/23/2023',y:[328.50,330.50,326.00,329.50]},{ x:'02/24/2023',y:[353.00,353.50,330.00,335.00]},{ x:'03/01/2023',y:[339.00,367.00,338.00,363.00]},{ x:'03/02/2023',y:[367.00,367.50,353.00,355.00]},{ x:'03/03/2023',y:[353.00,358.50,346.50,347.50]},{ x:'03/06/2023',y:[350.00,354.00,344.50,352.00]},{ x:'03/07/2023',y:[352.50,361.00,350.00,351.00]},{ x:'03/08/2023',y:[351.00,353.00,348.00,351.00]},{ x:'03/09/2023',y:[351.00,357.00,349.00,355.50]},{ x:'03/10/2023',y:[355.00,357.00,352.50,355.50]},{ x:'03/13/2023',y:[351.50,361.50,349.00,361.00]},{ x:'03/14/2023',y:[358.50,380.00,358.00,365.00]},{ x:'03/15/2023',y:[367.50,374.00,360.00,362.00]},{ x:'03/16/2023',y:[360.00,361.00,352.00,355.50]},{ x:'03/17/2023',y:[354.00,360.50,350.00,350.00]},{ x:'03/20/2023',y:[350.50,353.00,348.00,350.50]},{ x:'03/21/2023',y:[353.00,357.00,353.00,357.00]},{ x:'03/22/2023',y:[363.50,369.50,357.50,367.50]},{ x:'03/23/2023',y:[364.50,372.00,364.50,366.00]},{ x:'03/24/2023',y:[366.00,371.50,365.00,368.50]},{ x:'03/27/2023',y:[372.50,376.50,370.00,373.50]},{ x:'03/28/2023',y:[374.00,374.00,359.50,359.50]},{ x:'03/29/2023',y:[358.00,364.00,356.00,359.00]},{ x:'03/30/2023',y:[360.00,361.50,358.00,360.00]},{ x:'03/31/2023',y:[358.00,366.50,358.00,363.00]},{ x:'04/06/2023',y:[364.50,365.50,363.00,365.00]},{ x:'04/07/2023',y:[366.00,368.50,365.50,368.00]},{ x:'04/10/2023',y:[368.00,369.50,367.50,368.00]},{ x:'04/11/2023',y:[369.00,372.00,365.50,371.50]},{ x:'04/12/2023',y:[371.00,387.00,370.50,385.00]},{ x:'04/13/2023',y:[385.00,387.50,380.00,386.50]},{ x:'04/14/2023',y:[391.50,401.50,388.50,393.00]},{ x:'04/17/2023',y:[400.00,400.00,394.00,397.00]},{ x:'04/18/2023',y:[399.50,402.00,395.50,399.50]},{ x:'04/19/2023',y:[399.00,413.00,399.00,411.00]},{ x:'04/20/2023',y:[412.00,414.00,401.00,405.50]},{ x:'04/21/2023',y:[405.50,411.50,393.00,396.00]},{ x:'04/24/2023',y:[396.00,398.00,388.50,393.00]},{ x:'04/25/2023',y:[395.00,398.00,385.00,388.50]},{ x:'04/26/2023',y:[388.50,394.50,383.00,390.50]},{ x:'04/27/2023',y:[391.50,403.00,386.00,399.50]},{ x:'04/28/2023',y:[405.00,409.50,402.00,404.00]},{ x:'05/02/2023',y:[408.00,417.00,405.00,413.00]},{ x:'05/03/2023',y:[412.00,425.00,408.00,418.50]},{ x:'05/04/2023',y:[422.50,424.50,417.50,417.50]},{ x:'05/05/2023',y:[417.50,421.00,415.50,418.00]},{ x:'05/08/2023',y:[420.00,434.50,420.00,434.50]},{ x:'05/09/2023',y:[435.00,438.50,425.00,429.00]},{ x:'05/10/2023',y:[426.00,432.00,424.00,425.00]},{ x:'05/11/2023',y:[416.50,416.50,382.50,384.00]},{ x:'05/12/2023',y:[371.00,382.00,361.00,366.50]},{ x:'05/15/2023',y:[363.50,378.00,362.00,372.50]},{ x:'05/16/2023',y:[373.00,377.50,370.00,370.00]},{ x:'05/17/2023',y:[368.50,372.00,367.00,369.50]},{ x:'05/18/2023',y:[372.50,375.50,369.50,374.00]},{ x:'05/19/2023',y:[371.50,374.00,365.00,370.00]},{ x:'05/22/2023',y:[371.00,374.50,366.00,366.50]},{ x:'05/23/2023',y:[368.00,368.00,363.50,364.00]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "6469 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());