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/13/2024',y:[1005.00,1030.00,981.00,983.00]},{ x:'03/14/2024',y:[980.00,999.00,893.00,911.00]},{ x:'03/15/2024',y:[902.00,931.00,890.00,907.00]},{ x:'03/18/2024',y:[910.00,946.00,910.00,939.00]},{ x:'03/19/2024',y:[935.00,939.00,903.00,905.00]},{ x:'03/20/2024',y:[910.00,911.00,839.00,845.00]},{ x:'03/21/2024',y:[864.00,895.00,842.00,876.00]},{ x:'03/22/2024',y:[882.00,907.00,879.00,889.00]},{ x:'03/25/2024',y:[903.00,922.00,898.00,899.00]},{ x:'03/26/2024',y:[903.00,914.00,868.00,873.00]},{ x:'03/27/2024',y:[875.00,909.00,867.00,901.00]},{ x:'03/28/2024',y:[905.00,924.00,896.00,903.00]},{ x:'03/29/2024',y:[911.00,933.00,911.00,921.00]},{ x:'04/01/2024',y:[923.00,932.00,912.00,928.00]},{ x:'04/02/2024',y:[939.00,946.00,887.00,893.00]},{ x:'04/03/2024',y:[895.00,936.00,890.00,930.00]},{ x:'04/08/2024',y:[943.00,962.00,919.00,925.00]},{ x:'04/09/2024',y:[934.00,934.00,885.00,912.00]},{ x:'04/10/2024',y:[917.00,923.00,896.00,906.00]},{ x:'04/11/2024',y:[906.00,920.00,891.00,906.00]},{ x:'04/12/2024',y:[910.00,934.00,908.00,920.00]},{ x:'04/15/2024',y:[911.00,914.00,889.00,896.00]},{ x:'04/16/2024',y:[884.00,884.00,836.00,858.00]},{ x:'04/17/2024',y:[859.00,920.00,859.00,910.00]},{ x:'04/18/2024',y:[904.00,961.00,892.00,936.00]},{ x:'04/19/2024',y:[928.00,935.00,891.00,907.00]},{ x:'04/22/2024',y:[915.00,922.00,869.00,869.00]},{ x:'04/23/2024',y:[890.00,900.00,853.00,866.00]},{ x:'04/24/2024',y:[885.00,951.00,885.00,943.00]},{ x:'04/25/2024',y:[938.00,945.00,925.00,933.00]},{ x:'04/26/2024',y:[946.00,989.00,931.00,958.00]},{ x:'04/29/2024',y:[978.00,980.00,936.00,979.00]},{ x:'04/30/2024',y:[981.00,992.00,969.00,977.00]},{ x:'05/02/2024',y:[967.00,974.00,928.00,932.00]},{ x:'05/03/2024',y:[947.00,949.00,923.00,925.00]},{ x:'05/06/2024',y:[937.00,948.00,895.00,901.00]},{ x:'05/07/2024',y:[901.00,916.00,891.00,900.00]},{ x:'05/08/2024',y:[910.00,943.00,881.00,940.00]},{ x:'05/09/2024',y:[939.00,985.00,934.00,980.00]},{ x:'05/10/2024',y:[985.00,994.00,932.00,942.00]},{ x:'05/13/2024',y:[954.00,954.00,906.00,916.00]},{ x:'05/14/2024',y:[916.00,926.00,908.00,918.00]},{ x:'05/15/2024',y:[928.00,928.00,882.00,882.00]},{ x:'05/16/2024',y:[893.00,924.00,892.00,920.00]},{ x:'05/17/2024',y:[919.00,943.00,911.00,922.00]},{ x:'05/20/2024',y:[942.00,943.00,921.00,923.00]},{ x:'05/21/2024',y:[923.00,940.00,923.00,935.00]},{ x:'05/22/2024',y:[938.00,942.00,927.00,931.00]},{ x:'05/23/2024',y:[936.00,984.00,926.00,970.00]},{ x:'05/24/2024',y:[967.00,1005.00,965.00,991.00]},{ x:'06/11/2024',y:[993.00,1020.00,978.00,1015.00]},{ x:'06/12/2024',y:[1005.00,1030.00,986.00,1030.00]},{ x:'06/13/2024',y:[1035.00,1060.00,1035.00,1050.00]},{ x:'06/14/2024',y:[1055.00,1095.00,1035.00,1080.00]},{ x:'06/17/2024',y:[1090.00,1090.00,1055.00,1065.00]},{ x:'06/18/2024',y:[1080.00,1080.00,1005.00,1015.00]},{ x:'06/19/2024',y:[1020.00,1035.00,1005.00,1010.00]},{ x:'06/20/2024',y:[1020.00,1035.00,1000.00,1005.00]},{ x:'06/21/2024',y:[992.00,1010.00,982.00,1005.00]},{ x:'06/24/2024',y:[999.00,1010.00,987.00,1000.00]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "3653 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());