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:'06/05/2023',y:[361.00,368.00,358.50,363.00]},{ x:'06/06/2023',y:[363.00,363.00,356.00,360.00]},{ x:'06/07/2023',y:[357.00,360.50,357.00,357.00]},{ x:'06/08/2023',y:[357.00,357.50,352.00,353.00]},{ x:'06/09/2023',y:[355.00,362.00,355.00,360.50]},{ x:'06/12/2023',y:[358.50,363.50,357.00,359.50]},{ x:'06/13/2023',y:[358.50,360.50,350.00,354.00]},{ x:'06/14/2023',y:[357.50,357.50,348.00,348.50]},{ x:'06/15/2023',y:[348.00,352.00,340.00,345.00]},{ x:'06/16/2023',y:[350.00,357.00,348.00,357.00]},{ x:'06/19/2023',y:[357.50,363.00,354.00,361.00]},{ x:'06/20/2023',y:[364.00,364.00,354.50,354.50]},{ x:'06/21/2023',y:[357.00,359.50,350.00,359.50]},{ x:'06/26/2023',y:[359.50,365.50,357.00,361.50]},{ x:'06/27/2023',y:[364.00,384.00,362.00,377.00]},{ x:'06/28/2023',y:[375.50,378.00,366.50,373.00]},{ x:'06/29/2023',y:[379.50,391.50,375.00,375.00]},{ x:'06/30/2023',y:[384.50,384.50,376.00,378.00]},{ x:'07/03/2023',y:[379.00,383.00,376.00,378.50]},{ x:'07/04/2023',y:[378.50,394.00,377.50,392.50]},{ x:'07/05/2023',y:[389.00,393.00,387.00,390.00]},{ x:'07/06/2023',y:[390.00,400.00,388.50,396.00]},{ x:'07/07/2023',y:[394.00,396.00,390.00,393.50]},{ x:'07/10/2023',y:[393.50,399.50,393.50,398.50]},{ x:'07/11/2023',y:[402.00,407.00,398.50,404.50]},{ x:'07/12/2023',y:[407.00,412.00,405.50,410.00]},{ x:'07/13/2023',y:[412.00,413.00,394.50,396.50]},{ x:'07/14/2023',y:[402.00,409.50,399.00,409.00]},{ x:'07/17/2023',y:[409.00,409.00,397.50,398.50]},{ x:'07/18/2023',y:[397.00,405.00,395.50,402.00]},{ 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]} ] }], 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());