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:'04/09/2024',y:[380.00,386.50,353.50,354.00]},{ x:'04/10/2024',y:[363.00,370.00,341.00,341.00]},{ x:'04/11/2024',y:[344.00,347.50,335.50,337.00]},{ x:'04/12/2024',y:[345.00,358.50,340.00,341.00]},{ x:'04/15/2024',y:[339.50,358.50,339.00,341.00]},{ x:'04/16/2024',y:[339.50,343.50,321.00,340.00]},{ x:'04/17/2024',y:[348.00,363.00,345.50,363.00]},{ x:'04/18/2024',y:[358.00,364.50,342.50,346.50]},{ x:'04/19/2024',y:[329.00,335.50,312.00,316.50]},{ x:'04/22/2024',y:[317.00,323.50,302.50,304.50]},{ x:'04/23/2024',y:[318.00,324.00,311.50,321.50]},{ x:'04/24/2024',y:[330.00,343.00,328.50,328.50]},{ x:'04/25/2024',y:[324.00,330.00,317.50,326.50]},{ x:'04/26/2024',y:[333.00,339.50,330.50,335.00]},{ x:'04/29/2024',y:[342.00,349.50,332.00,342.50]},{ x:'04/30/2024',y:[344.00,348.50,338.00,338.00]},{ x:'05/02/2024',y:[334.00,348.50,329.00,347.00]},{ x:'05/03/2024',y:[351.50,356.00,342.00,342.50]},{ x:'05/06/2024',y:[347.50,358.00,341.00,348.50]},{ x:'05/07/2024',y:[358.50,368.00,352.50,364.00]},{ x:'05/08/2024',y:[361.50,368.00,358.00,368.00]},{ x:'05/09/2024',y:[375.50,375.50,355.50,364.00]},{ x:'05/10/2024',y:[358.50,361.50,345.00,345.00]},{ x:'05/13/2024',y:[321.00,333.00,317.50,319.00]},{ x:'05/14/2024',y:[320.00,324.50,319.00,323.50]},{ x:'05/15/2024',y:[329.00,330.00,320.00,320.00]},{ x:'05/16/2024',y:[327.00,343.00,325.50,332.50]},{ x:'05/17/2024',y:[333.00,341.00,328.50,338.00]},{ x:'05/20/2024',y:[335.50,338.50,327.00,328.50]},{ x:'05/21/2024',y:[329.00,335.00,329.00,334.50]},{ x:'05/22/2024',y:[336.00,338.00,332.00,334.00]},{ x:'05/23/2024',y:[337.50,342.00,330.00,334.00]},{ x:'05/24/2024',y:[330.00,354.00,330.00,351.00]},{ x:'06/11/2024',y:[346.00,358.00,342.50,349.50]},{ x:'06/12/2024',y:[352.50,356.50,343.50,345.00]},{ x:'06/13/2024',y:[350.00,353.00,346.00,349.50]},{ x:'06/14/2024',y:[353.50,355.00,341.50,344.50]},{ x:'06/17/2024',y:[344.50,360.50,340.00,340.50]},{ x:'06/18/2024',y:[345.50,351.00,343.00,344.00]},{ x:'06/19/2024',y:[348.50,352.50,344.00,349.00]},{ x:'06/20/2024',y:[353.50,372.00,349.00,367.50]},{ x:'06/21/2024',y:[362.00,363.00,353.00,358.50]},{ x:'06/24/2024',y:[354.50,362.00,342.00,342.00]},{ x:'06/25/2024',y:[344.50,344.50,329.50,335.00]},{ x:'06/26/2024',y:[339.00,357.50,338.00,354.00]},{ x:'06/27/2024',y:[345.00,357.50,345.00,346.00]},{ x:'06/28/2024',y:[350.00,359.50,350.00,353.50]},{ x:'07/01/2024',y:[353.50,388.50,347.00,388.50]},{ x:'07/02/2024',y:[393.50,394.00,381.00,389.00]},{ x:'07/03/2024',y:[393.50,396.00,372.00,373.50]},{ x:'07/04/2024',y:[380.50,410.50,379.00,410.50]},{ x:'07/05/2024',y:[411.50,451.50,408.50,451.50]},{ x:'07/12/2024',y:[426.50,431.00,409.00,411.50]},{ x:'07/15/2024',y:[419.50,426.00,413.00,423.50]},{ x:'07/16/2024',y:[420.00,432.50,413.00,413.50]},{ x:'07/17/2024',y:[415.00,419.50,405.00,409.00]},{ x:'07/18/2024',y:[394.00,394.50,374.00,382.00]},{ x:'07/19/2024',y:[390.00,420.00,385.00,420.00]},{ x:'07/22/2024',y:[418.00,429.00,380.50,391.00]},{ x:'07/23/2024',y:[402.50,413.50,394.50,409.00]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "3583 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());