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:'07/19/2023',y:[400.50,411.00,400.50,406.50]},{ x:'07/20/2023',y:[407.00,409.50,404.50,409.00]},{ x:'07/21/2023',y:[406.00,410.50,406.00,408.50]},{ x:'07/24/2023',y:[409.50,418.00,407.50,417.50]},{ x:'07/25/2023',y:[420.00,431.50,420.00,422.00]},{ x:'07/26/2023',y:[420.00,426.00,411.00,416.00]},{ x:'07/27/2023',y:[414.50,423.00,414.50,418.50]},{ x:'07/28/2023',y:[422.00,423.00,416.50,421.50]},{ x:'07/31/2023',y:[425.00,426.50,415.00,418.50]},{ x:'08/01/2023',y:[421.50,422.50,418.50,419.00]},{ x:'08/02/2023',y:[419.00,421.50,409.00,411.00]},{ x:'08/04/2023',y:[410.00,410.00,393.50,395.50]},{ x:'08/07/2023',y:[395.50,410.00,394.00,407.00]},{ x:'08/08/2023',y:[409.00,418.00,408.50,414.50]},{ x:'08/09/2023',y:[418.00,428.50,417.50,425.00]},{ x:'08/10/2023',y:[430.00,432.00,416.50,427.00]},{ x:'08/11/2023',y:[353.00,369.50,336.00,368.50]},{ x:'08/14/2023',y:[366.00,372.00,358.00,360.50]},{ x:'08/15/2023',y:[360.00,361.00,348.50,350.50]},{ x:'08/16/2023',y:[348.00,355.00,343.00,350.00]},{ x:'08/17/2023',y:[347.00,353.00,347.00,347.00]},{ x:'08/18/2023',y:[347.50,356.00,346.00,348.00]},{ x:'08/21/2023',y:[354.00,354.00,346.00,347.50]},{ x:'08/22/2023',y:[347.50,349.00,342.00,343.50]},{ x:'08/23/2023',y:[344.00,344.50,337.50,338.00]},{ x:'08/24/2023',y:[338.00,347.00,336.50,343.00]},{ x:'08/25/2023',y:[343.00,343.00,338.00,339.00]},{ x:'08/28/2023',y:[338.50,338.50,328.00,328.50]},{ x:'08/29/2023',y:[328.50,329.50,326.00,329.00]},{ x:'08/30/2023',y:[330.50,347.00,328.50,345.00]},{ x:'08/31/2023',y:[342.50,353.00,342.50,351.50]},{ x:'09/01/2023',y:[350.00,354.50,347.00,348.00]},{ x:'09/04/2023',y:[345.50,351.00,345.50,346.50]},{ x:'09/05/2023',y:[348.00,350.50,346.50,350.00]},{ x:'09/06/2023',y:[351.50,352.00,347.50,351.00]},{ x:'09/07/2023',y:[351.00,351.50,349.00,349.50]},{ x:'09/08/2023',y:[346.50,349.00,345.50,346.50]},{ x:'09/11/2023',y:[348.50,348.50,341.50,341.50]},{ x:'09/12/2023',y:[344.00,344.00,338.50,339.50]},{ x:'09/13/2023',y:[343.00,343.50,341.00,341.00]},{ x:'09/14/2023',y:[343.50,343.50,341.00,343.00]},{ x:'09/15/2023',y:[345.00,350.50,341.50,350.50]},{ x:'09/18/2023',y:[350.50,350.50,347.00,348.00]},{ x:'09/19/2023',y:[349.50,349.50,345.00,345.50]},{ x:'09/20/2023',y:[346.50,346.50,343.00,344.50]},{ x:'09/21/2023',y:[344.50,346.50,341.00,346.50]},{ x:'09/22/2023',y:[346.00,350.00,344.00,344.00]},{ x:'09/25/2023',y:[344.00,353.50,344.00,352.00]},{ x:'09/26/2023',y:[350.00,352.50,348.50,349.50]},{ x:'09/27/2023',y:[349.50,353.00,347.00,350.50]},{ x:'09/28/2023',y:[352.50,352.50,349.00,350.00]},{ x:'10/02/2023',y:[350.00,352.50,349.00,351.00]},{ x:'10/03/2023',y:[351.00,358.00,349.50,356.50]},{ x:'10/04/2023',y:[356.00,358.50,352.00,358.00]},{ x:'10/05/2023',y:[360.00,368.00,360.00,366.50]},{ x:'10/06/2023',y:[366.50,379.00,365.00,378.00]},{ x:'10/11/2023',y:[380.50,381.00,365.00,366.00]},{ x:'10/12/2023',y:[364.00,364.50,359.50,363.00]},{ x:'10/13/2023',y:[366.50,368.00,360.00,360.00]},{ x:'10/18/2023',y:[348.50,351.50,344.00,345.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());