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:'03/25/2024',y:[423.50,424.00,418.00,422.50]},{ x:'03/26/2024',y:[416.50,416.50,411.00,411.00]},{ x:'03/27/2024',y:[411.00,415.00,411.00,411.00]},{ x:'03/28/2024',y:[412.00,414.00,409.00,409.00]},{ x:'03/29/2024',y:[410.00,412.00,406.50,406.50]},{ x:'04/01/2024',y:[406.00,411.00,406.00,409.00]},{ x:'04/02/2024',y:[410.00,414.00,410.00,412.00]},{ x:'04/03/2024',y:[414.00,414.00,405.00,405.50]},{ x:'04/08/2024',y:[408.50,410.50,408.50,410.50]},{ x:'04/09/2024',y:[409.50,409.50,404.00,408.00]},{ x:'04/10/2024',y:[408.00,413.50,406.00,413.50]},{ x:'04/11/2024',y:[408.50,408.50,407.00,407.00]},{ x:'04/12/2024',y:[409.00,411.50,408.00,409.00]},{ x:'04/15/2024',y:[409.00,409.00,404.50,404.50]},{ x:'04/16/2024',y:[403.50,403.50,395.00,396.00]},{ x:'04/17/2024',y:[400.00,402.00,397.50,399.50]},{ x:'04/18/2024',y:[398.50,400.00,397.50,397.50]},{ x:'04/19/2024',y:[396.00,396.00,389.00,390.00]},{ x:'04/22/2024',y:[390.00,391.00,377.00,377.00]},{ x:'04/23/2024',y:[380.00,387.50,379.00,383.00]},{ x:'04/24/2024',y:[389.00,402.50,389.00,401.00]},{ x:'04/25/2024',y:[401.00,408.00,390.50,391.50]},{ x:'04/26/2024',y:[393.00,395.50,390.00,391.50]},{ x:'04/29/2024',y:[397.50,404.50,395.50,399.00]},{ x:'04/30/2024',y:[399.00,400.00,396.00,396.00]},{ x:'05/02/2024',y:[391.50,399.50,391.50,396.00]},{ x:'05/03/2024',y:[407.00,407.00,398.00,399.00]},{ x:'05/06/2024',y:[400.50,400.50,393.00,394.00]},{ x:'05/07/2024',y:[394.50,395.00,387.00,387.50]},{ x:'05/08/2024',y:[396.00,426.00,396.00,426.00]},{ x:'05/09/2024',y:[426.00,444.00,420.00,426.00]},{ x:'05/10/2024',y:[426.00,460.00,426.00,439.00]},{ x:'05/13/2024',y:[444.00,444.00,430.00,433.50]},{ x:'05/14/2024',y:[434.00,449.00,432.50,441.50]},{ x:'05/15/2024',y:[447.50,476.00,443.00,456.00]},{ x:'05/16/2024',y:[461.50,467.00,458.00,465.00]},{ x:'05/17/2024',y:[464.00,483.50,464.00,483.00]},{ x:'05/20/2024',y:[484.50,500.00,482.00,499.50]},{ x:'05/21/2024',y:[499.50,499.50,488.00,488.50]},{ x:'05/22/2024',y:[487.50,499.00,487.50,491.50]},{ x:'05/23/2024',y:[491.00,494.50,480.00,481.00]},{ x:'05/24/2024',y:[480.50,491.00,475.00,481.00]},{ x:'06/11/2024',y:[458.50,459.00,434.00,435.50]},{ x:'06/12/2024',y:[435.50,443.00,434.00,440.50]},{ x:'06/13/2024',y:[449.50,450.00,438.50,439.00]},{ x:'06/14/2024',y:[441.00,448.00,441.00,446.00]},{ x:'06/17/2024',y:[446.00,460.00,443.00,450.50]},{ x:'06/18/2024',y:[456.50,460.50,451.00,452.00]},{ x:'06/19/2024',y:[457.50,457.50,447.00,450.00]},{ x:'06/20/2024',y:[450.00,450.00,435.00,442.00]},{ x:'06/21/2024',y:[442.50,443.50,420.00,430.50]},{ x:'06/24/2024',y:[430.50,431.00,424.50,425.00]},{ x:'06/25/2024',y:[426.00,430.00,425.00,426.00]},{ x:'06/26/2024',y:[428.00,432.00,425.00,428.50]},{ x:'06/27/2024',y:[430.50,442.00,430.50,434.00]},{ x:'06/28/2024',y:[432.00,438.50,432.00,433.50]},{ x:'07/01/2024',y:[433.50,437.50,433.50,436.00]},{ x:'07/02/2024',y:[436.00,436.00,432.00,432.00]},{ x:'07/03/2024',y:[432.00,434.50,432.00,433.00]},{ x:'07/04/2024',y:[433.00,433.00,425.00,426.00]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "6763 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());