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:'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]},{ x:'07/05/2024',y:[426.00,431.00,426.00,428.00]},{ x:'07/12/2024',y:[446.50,446.50,431.00,436.00]},{ x:'07/15/2024',y:[441.50,441.50,430.00,435.00]},{ x:'07/16/2024',y:[435.00,438.50,430.50,431.00]},{ x:'07/17/2024',y:[438.00,438.00,431.00,431.50]},{ x:'07/18/2024',y:[420.00,428.00,420.00,424.00]},{ x:'07/19/2024',y:[421.00,422.50,420.00,420.00]},{ x:'07/22/2024',y:[420.00,420.00,412.50,413.00]},{ x:'07/23/2024',y:[425.00,425.00,415.00,419.50]},{ x:'07/26/2024',y:[413.00,415.00,413.00,414.50]},{ x:'07/29/2024',y:[415.50,415.50,408.50,408.50]},{ x:'07/30/2024',y:[410.00,412.00,410.00,412.00]},{ x:'07/31/2024',y:[415.00,415.00,412.50,412.50]},{ x:'08/01/2024',y:[413.00,419.00,411.50,419.00]},{ x:'08/02/2024',y:[424.00,424.00,418.00,418.00]},{ x:'08/05/2024',y:[388.00,399.50,376.50,381.00]},{ x:'08/06/2024',y:[381.50,381.50,365.00,380.00]},{ x:'08/07/2024',y:[380.00,407.00,380.00,405.00]},{ x:'08/08/2024',y:[398.00,398.00,392.00,396.00]},{ x:'08/09/2024',y:[404.50,426.00,404.50,408.00]},{ x:'08/12/2024',y:[413.00,437.50,413.00,437.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());