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/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]},{ x:'03/20/2024',y:[352.50,356.00,347.00,347.50]},{ x:'03/21/2024',y:[353.00,354.00,344.50,345.50]},{ x:'03/22/2024',y:[349.50,354.50,347.00,351.50]},{ x:'03/25/2024',y:[356.00,361.50,349.00,349.00]},{ x:'03/26/2024',y:[349.00,353.00,336.00,339.50]},{ x:'03/27/2024',y:[341.50,343.50,338.00,338.00]},{ x:'03/28/2024',y:[339.50,343.50,333.50,334.50]},{ x:'03/29/2024',y:[336.50,348.00,336.00,344.00]},{ x:'04/01/2024',y:[347.00,354.00,344.00,349.00]},{ x:'04/02/2024',y:[353.50,353.50,345.50,347.50]},{ x:'04/03/2024',y:[343.00,347.50,338.00,345.00]},{ x:'04/08/2024',y:[347.00,352.50,338.00,338.00]},{ x:'04/09/2024',y:[339.00,341.00,328.50,329.00]},{ x:'04/10/2024',y:[330.00,334.00,327.50,329.00]},{ x:'04/11/2024',y:[328.00,331.00,318.00,318.50]},{ x:'04/12/2024',y:[321.00,323.50,315.50,323.00]},{ x:'04/15/2024',y:[320.00,320.00,312.50,312.50]},{ x:'04/16/2024',y:[310.00,320.00,303.00,313.00]},{ x:'04/17/2024',y:[315.00,321.00,314.00,314.00]},{ x:'04/18/2024',y:[314.00,324.50,310.00,322.00]},{ x:'04/19/2024',y:[318.00,327.50,297.00,306.00]},{ x:'04/22/2024',y:[306.00,308.00,289.50,290.00]},{ x:'04/23/2024',y:[294.00,296.00,287.00,295.00]},{ x:'04/24/2024',y:[301.50,304.50,293.00,294.50]},{ x:'04/25/2024',y:[290.00,292.50,278.00,279.00]},{ x:'04/26/2024',y:[282.00,302.00,277.50,295.50]},{ x:'04/29/2024',y:[302.00,305.50,296.00,297.50]} ] }], 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());