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:[430.00,450.50,430.00,438.50]},{ x:'01/23/2024',y:[442.50,443.50,429.00,432.50]},{ x:'01/24/2024',y:[432.50,440.00,431.00,433.00]},{ x:'01/25/2024',y:[441.50,456.50,433.50,433.50]},{ x:'01/26/2024',y:[433.00,433.00,422.00,432.00]},{ x:'01/29/2024',y:[433.00,435.50,427.50,433.00]},{ x:'01/30/2024',y:[435.50,448.00,435.50,438.00]},{ x:'01/31/2024',y:[438.00,444.00,431.00,432.50]},{ x:'02/01/2024',y:[432.00,432.00,425.50,428.50]},{ x:'02/02/2024',y:[433.50,442.00,433.50,438.00]},{ x:'02/05/2024',y:[440.00,472.00,428.00,469.00]},{ x:'02/15/2024',y:[458.00,458.00,425.00,444.50]},{ x:'02/16/2024',y:[447.50,478.00,447.00,449.50]},{ x:'02/19/2024',y:[450.00,453.00,439.00,441.50]},{ x:'02/20/2024',y:[443.50,444.00,431.50,432.00]},{ x:'02/21/2024',y:[432.50,441.50,428.50,433.00]},{ x:'02/22/2024',y:[436.00,441.50,425.50,425.50]},{ x:'02/23/2024',y:[429.50,431.50,416.50,416.50]},{ x:'02/26/2024',y:[417.00,428.50,417.00,420.00]},{ x:'02/27/2024',y:[421.00,427.50,418.00,421.00]},{ x:'02/29/2024',y:[420.50,428.00,420.00,428.00]},{ x:'03/01/2024',y:[430.50,435.50,427.00,428.00]},{ x:'03/04/2024',y:[433.50,437.00,425.00,425.00]},{ x:'03/05/2024',y:[434.50,453.00,434.50,438.00]},{ x:'03/06/2024',y:[438.00,438.00,428.50,428.50]},{ x:'03/07/2024',y:[433.50,433.50,420.00,420.50]},{ x:'03/08/2024',y:[421.00,425.00,404.00,404.00]},{ x:'03/11/2024',y:[404.00,414.00,402.00,413.50]},{ x:'03/12/2024',y:[410.00,419.00,410.00,414.50]},{ x:'03/13/2024',y:[417.50,418.00,382.00,386.50]},{ x:'03/14/2024',y:[390.00,390.50,372.00,377.00]},{ x:'03/15/2024',y:[369.50,395.00,364.50,381.50]},{ x:'03/18/2024',y:[382.00,390.00,374.00,376.50]},{ x:'03/19/2024',y:[376.50,379.50,367.00,369.00]},{ x:'03/20/2024',y:[369.50,375.00,360.50,362.50]},{ x:'03/21/2024',y:[368.00,378.00,363.00,377.50]},{ x:'03/22/2024',y:[377.00,384.50,366.50,367.00]},{ x:'03/25/2024',y:[369.50,373.50,362.50,373.50]},{ x:'03/26/2024',y:[380.50,392.00,366.50,374.00]},{ x:'03/27/2024',y:[375.50,377.00,369.00,371.50]},{ x:'03/28/2024',y:[371.50,376.50,364.00,376.50]},{ x:'03/29/2024',y:[374.50,376.50,373.00,375.00]},{ x:'04/01/2024',y:[375.50,376.00,368.50,368.50]},{ x:'04/02/2024',y:[370.00,370.50,363.00,363.50]},{ x:'04/03/2024',y:[361.50,381.00,360.00,376.50]},{ x:'04/08/2024',y:[376.00,382.50,370.50,373.00]},{ x:'04/09/2024',y:[374.50,377.50,371.00,376.50]},{ x:'04/10/2024',y:[370.50,372.50,361.50,363.00]},{ x:'04/11/2024',y:[363.00,366.00,362.00,362.50]},{ x:'04/12/2024',y:[363.50,372.50,363.50,368.00]},{ x:'04/15/2024',y:[365.00,365.50,355.00,355.00]},{ x:'04/16/2024',y:[350.00,350.00,319.50,319.50]},{ x:'04/17/2024',y:[318.50,324.00,317.50,323.50]},{ x:'04/18/2024',y:[318.00,347.50,318.00,334.00]},{ x:'04/19/2024',y:[330.00,330.00,305.00,315.50]},{ x:'04/22/2024',y:[322.00,322.50,302.00,302.00]},{ x:'04/23/2024',y:[308.00,313.50,303.50,304.00]},{ x:'04/24/2024',y:[311.00,318.00,308.00,309.50]},{ x:'04/25/2024',y:[307.00,307.50,301.00,301.00]},{ x:'04/26/2024',y:[311.00,320.00,308.00,310.00]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "3693 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());