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/22/2024',y:[415.00,435.50,412.50,435.50]},{ x:'01/23/2024',y:[429.50,439.00,426.50,439.00]},{ x:'01/24/2024',y:[439.00,441.00,424.50,424.50]},{ x:'01/25/2024',y:[430.00,431.00,412.00,414.50]},{ x:'01/26/2024',y:[416.50,419.50,408.50,414.50]},{ x:'01/29/2024',y:[418.50,434.00,418.50,431.50]},{ x:'01/30/2024',y:[437.50,474.50,429.00,470.50]},{ x:'01/31/2024',y:[468.50,478.00,460.00,461.00]},{ x:'02/01/2024',y:[454.00,456.00,445.50,450.00]},{ x:'02/02/2024',y:[465.00,484.00,463.00,475.00]},{ x:'02/05/2024',y:[480.50,500.00,480.00,497.50]},{ x:'02/15/2024',y:[535.00,547.00,530.00,545.00]},{ x:'02/16/2024',y:[546.00,550.00,514.00,534.00]},{ x:'02/19/2024',y:[529.00,541.00,511.00,515.00]},{ x:'02/20/2024',y:[511.00,513.00,491.00,509.00]},{ x:'02/21/2024',y:[499.50,505.00,490.50,492.50]},{ x:'02/22/2024',y:[513.00,519.00,490.50,490.50]},{ x:'02/23/2024',y:[507.00,520.00,500.00,510.00]},{ x:'02/26/2024',y:[510.00,529.00,504.00,524.00]},{ x:'02/27/2024',y:[525.00,525.00,492.00,504.00]},{ x:'02/29/2024',y:[502.00,505.00,493.00,495.00]},{ x:'03/01/2024',y:[498.00,510.00,488.00,494.00]},{ x:'03/04/2024',y:[500.00,502.00,482.00,487.00]},{ x:'03/05/2024',y:[494.00,509.00,489.00,498.50]},{ x:'03/06/2024',y:[495.00,525.00,494.00,514.00]},{ x:'03/07/2024',y:[524.00,538.00,514.00,522.00]},{ x:'03/08/2024',y:[536.00,536.00,490.00,490.00]},{ x:'03/11/2024',y:[488.00,501.00,486.50,496.00]},{ x:'03/12/2024',y:[490.00,498.00,450.00,450.00]},{ x:'03/13/2024',y:[444.00,449.00,405.00,405.00]},{ x:'03/14/2024',y:[404.00,410.00,390.00,394.00]},{ x:'03/15/2024',y:[399.00,416.50,396.00,414.00]},{ x:'03/18/2024',y:[416.00,418.00,402.00,412.00]},{ x:'03/19/2024',y:[413.50,424.50,407.00,418.00]},{ x:'03/20/2024',y:[423.50,423.50,406.00,406.00]},{ x:'03/21/2024',y:[412.50,435.00,407.50,420.50]},{ x:'03/22/2024',y:[440.00,440.00,426.50,427.50]},{ x:'03/25/2024',y:[427.50,430.50,420.50,420.50]},{ x:'03/26/2024',y:[423.00,429.00,407.00,409.00]},{ x:'03/27/2024',y:[415.00,418.00,409.00,415.00]},{ x:'03/28/2024',y:[419.00,424.50,402.50,403.00]},{ x:'03/29/2024',y:[403.00,407.50,400.00,403.50]},{ x:'04/01/2024',y:[407.50,408.50,397.50,398.50]},{ x:'04/02/2024',y:[400.00,405.00,397.50,400.50]},{ x:'04/03/2024',y:[402.00,419.50,400.50,410.50]},{ x:'04/08/2024',y:[429.00,449.50,426.50,445.00]},{ x:'04/09/2024',y:[445.00,450.00,433.50,434.50]},{ x:'04/10/2024',y:[438.00,438.00,400.00,405.50]},{ x:'04/11/2024',y:[402.50,407.50,399.50,400.50]},{ x:'04/12/2024',y:[403.50,408.00,401.00,402.00]},{ x:'04/15/2024',y:[400.00,403.50,383.00,383.00]},{ x:'04/16/2024',y:[375.00,380.00,368.50,374.50]},{ x:'04/17/2024',y:[374.50,378.00,371.00,372.50]},{ x:'04/18/2024',y:[372.50,391.00,370.00,385.00]},{ x:'04/19/2024',y:[378.50,388.50,360.00,375.50]},{ x:'04/22/2024',y:[371.00,372.50,350.50,350.50]},{ x:'04/23/2024',y:[363.00,381.50,356.00,376.00]},{ x:'04/24/2024',y:[388.00,397.50,386.00,391.50]},{ x:'04/25/2024',y:[385.00,402.00,382.50,382.50]},{ x:'04/26/2024',y:[393.00,402.00,390.00,397.00]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "2383 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());