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/21/2024',y:[890.00,927.00,890.00,919.00]},{ x:'03/22/2024',y:[911.00,914.00,885.00,894.00]},{ x:'03/25/2024',y:[905.00,924.00,900.00,900.00]},{ x:'03/26/2024',y:[914.00,915.00,878.00,888.00]},{ x:'03/27/2024',y:[890.00,903.00,890.00,892.00]},{ x:'03/28/2024',y:[900.00,906.00,890.00,896.00]},{ x:'03/29/2024',y:[905.00,908.00,896.00,898.00]},{ x:'04/01/2024',y:[907.00,922.00,903.00,907.00]},{ x:'04/02/2024',y:[909.00,963.00,907.00,951.00]},{ x:'04/03/2024',y:[949.00,994.00,936.00,965.00]},{ x:'04/08/2024',y:[975.00,976.00,935.00,942.00]},{ x:'04/09/2024',y:[945.00,950.00,918.00,920.00]},{ x:'04/10/2024',y:[929.00,937.00,915.00,915.00]},{ x:'04/11/2024',y:[915.00,927.00,902.00,904.00]},{ x:'04/12/2024',y:[911.00,919.00,902.00,917.00]},{ x:'04/15/2024',y:[917.00,930.00,900.00,900.00]},{ x:'04/16/2024',y:[895.00,895.00,810.00,821.00]},{ x:'04/17/2024',y:[828.00,842.00,826.00,829.00]},{ x:'04/18/2024',y:[814.00,820.00,791.00,810.00]},{ x:'04/19/2024',y:[800.00,800.00,736.00,764.00]},{ x:'04/22/2024',y:[758.00,775.00,715.00,730.00]},{ x:'04/23/2024',y:[747.00,751.00,726.00,733.00]},{ x:'04/24/2024',y:[749.00,784.00,742.00,778.00]},{ x:'04/25/2024',y:[767.00,768.00,752.00,762.00]},{ x:'04/26/2024',y:[772.00,791.00,772.00,779.00]},{ x:'04/29/2024',y:[780.00,825.00,780.00,808.00]},{ x:'04/30/2024',y:[813.00,822.00,801.00,819.00]},{ x:'05/02/2024',y:[822.00,834.00,806.00,825.00]},{ x:'05/03/2024',y:[821.00,825.00,794.00,794.00]},{ x:'05/06/2024',y:[797.00,798.00,746.00,752.00]},{ x:'05/07/2024',y:[740.00,780.00,735.00,745.00]},{ x:'05/08/2024',y:[752.00,773.00,745.00,773.00]},{ x:'05/09/2024',y:[774.00,781.00,759.00,760.00]},{ x:'05/10/2024',y:[765.00,794.00,765.00,783.00]},{ x:'05/13/2024',y:[825.00,846.00,806.00,808.00]},{ x:'05/14/2024',y:[816.00,822.00,797.00,803.00]},{ x:'05/15/2024',y:[815.00,849.00,814.00,834.00]},{ x:'05/16/2024',y:[843.00,849.00,826.00,834.00]},{ x:'05/17/2024',y:[830.00,865.00,818.00,861.00]},{ x:'05/20/2024',y:[862.00,881.00,830.00,839.00]},{ x:'05/21/2024',y:[839.00,845.00,834.00,835.00]},{ x:'05/22/2024',y:[835.00,849.00,831.00,834.00]},{ x:'05/23/2024',y:[832.00,835.00,806.00,809.00]},{ x:'05/24/2024',y:[792.00,830.00,792.00,815.00]},{ x:'06/11/2024',y:[815.00,829.00,806.00,807.00]},{ x:'06/12/2024',y:[809.00,815.00,806.00,812.00]},{ x:'06/13/2024',y:[824.00,848.00,818.00,838.00]},{ x:'06/14/2024',y:[838.00,845.00,827.00,838.00]},{ x:'06/17/2024',y:[838.00,862.00,837.00,838.00]},{ x:'06/18/2024',y:[848.00,857.00,836.00,836.00]},{ x:'06/19/2024',y:[842.00,855.00,839.00,846.00]},{ x:'06/20/2024',y:[855.00,891.00,852.00,879.00]},{ x:'06/21/2024',y:[881.00,949.00,870.00,924.00]},{ x:'06/24/2024',y:[931.00,946.00,876.00,882.00]},{ x:'06/25/2024',y:[885.00,896.00,855.00,889.00]},{ x:'06/26/2024',y:[899.00,924.00,894.00,920.00]},{ x:'06/27/2024',y:[911.00,937.00,904.00,911.00]},{ x:'06/28/2024',y:[916.00,921.00,891.00,891.00]},{ x:'07/01/2024',y:[893.00,918.00,885.00,896.00]},{ x:'07/02/2024',y:[900.00,914.00,889.00,897.00]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "4763 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());