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:'11/21/2023',y:[351.50,352.50,342.00,342.50]},{ x:'11/22/2023',y:[342.00,354.50,340.00,346.00]},{ x:'11/23/2023',y:[350.50,350.50,329.00,336.00]},{ x:'11/24/2023',y:[337.50,344.50,335.00,344.00]},{ x:'11/27/2023',y:[346.00,348.00,328.50,331.00]},{ x:'11/28/2023',y:[333.50,363.50,331.50,361.00]},{ x:'11/29/2023',y:[360.00,388.00,352.00,380.00]},{ x:'11/30/2023',y:[380.00,388.00,372.00,385.50]},{ x:'12/01/2023',y:[383.00,396.00,377.00,391.00]},{ x:'12/04/2023',y:[392.00,393.50,374.50,380.00]},{ x:'12/05/2023',y:[376.50,380.00,361.00,363.50]},{ x:'12/06/2023',y:[365.50,375.50,361.50,361.50]},{ x:'12/07/2023',y:[360.50,369.00,353.00,357.50]},{ x:'12/08/2023',y:[364.50,370.00,356.00,370.00]},{ x:'12/11/2023',y:[369.00,375.00,361.00,361.50]},{ x:'12/12/2023',y:[369.00,391.00,367.50,382.50]},{ x:'12/18/2023',y:[361.00,375.50,359.50,367.00]},{ x:'12/19/2023',y:[367.00,374.00,364.00,373.50]},{ x:'01/10/2024',y:[378.00,387.00,374.50,387.00]},{ x:'01/11/2024',y:[388.50,425.00,385.50,422.50]},{ x:'01/12/2024',y:[420.00,433.50,412.50,421.50]},{ x:'01/15/2024',y:[425.00,427.00,408.50,411.50]},{ x:'01/16/2024',y:[416.50,436.50,416.50,429.50]},{ x:'01/17/2024',y:[430.00,439.00,425.00,428.00]},{ x:'01/18/2024',y:[427.00,433.50,414.00,423.50]},{ x:'01/19/2024',y:[433.50,442.00,427.50,430.00]},{ x:'01/22/2024',y:[436.00,448.00,436.00,448.00]},{ x:'01/23/2024',y:[447.00,447.50,437.00,437.00]},{ x:'01/24/2024',y:[435.00,435.50,423.00,429.00]},{ x:'01/25/2024',y:[432.00,443.50,426.00,439.50]},{ x:'01/26/2024',y:[435.50,435.50,422.00,422.00]},{ x:'01/29/2024',y:[418.00,426.00,416.00,420.50]},{ x:'01/30/2024',y:[423.50,430.50,419.50,430.00]},{ x:'01/31/2024',y:[424.00,426.00,416.50,416.50]},{ x:'02/01/2024',y:[420.00,427.00,408.50,411.00]},{ x:'02/02/2024',y:[417.50,434.00,417.00,421.00]},{ x:'02/05/2024',y:[422.50,428.00,416.50,418.00]},{ x:'02/15/2024',y:[448.00,459.50,435.50,455.00]},{ x:'02/16/2024',y:[458.00,459.50,439.00,441.50]},{ x:'02/19/2024',y:[438.00,438.00,415.00,415.00]},{ x:'02/20/2024',y:[415.00,423.00,399.50,400.00]},{ x:'02/21/2024',y:[389.50,400.00,376.00,380.00]},{ x:'02/22/2024',y:[389.50,392.50,382.00,382.00]},{ x:'02/23/2024',y:[387.50,392.50,384.00,386.00]},{ x:'02/26/2024',y:[387.00,388.00,380.00,380.00]},{ x:'02/27/2024',y:[383.50,388.50,375.00,382.00]},{ x:'02/29/2024',y:[381.00,393.00,378.00,387.00]},{ x:'03/01/2024',y:[392.00,403.00,391.50,398.50]},{ x:'03/04/2024',y:[406.50,410.00,403.00,403.00]},{ x:'03/05/2024',y:[406.50,416.00,399.00,401.00]},{ x:'03/06/2024',y:[389.00,392.00,384.00,392.00]},{ x:'03/07/2024',y:[392.00,396.00,375.00,375.00]},{ x:'03/08/2024',y:[377.00,381.50,362.50,362.50]},{ x:'03/11/2024',y:[363.50,376.50,361.00,363.00]},{ x:'03/12/2024',y:[363.50,371.00,361.50,361.50]},{ x:'03/13/2024',y:[365.50,366.00,344.00,345.00]},{ x:'03/14/2024',y:[345.00,367.00,339.50,362.00]},{ x:'03/15/2024',y:[358.50,366.50,352.00,354.50]},{ x:'03/18/2024',y:[357.00,360.50,351.00,359.00]},{ x:'03/19/2024',y:[356.00,356.50,347.00,350.00]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "3035 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());