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/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]},{ x:'06/25/2024',y:[999.00,1010.00,988.00,990.00]},{ x:'06/26/2024',y:[1000.00,1075.00,1000.00,1070.00]},{ x:'06/27/2024',y:[1055.00,1175.00,1055.00,1160.00]},{ x:'06/28/2024',y:[1170.00,1205.00,1165.00,1200.00]},{ x:'07/01/2024',y:[1200.00,1210.00,1165.00,1170.00]},{ x:'07/02/2024',y:[1160.00,1170.00,1125.00,1140.00]},{ x:'07/03/2024',y:[1155.00,1210.00,1155.00,1170.00]},{ x:'07/04/2024',y:[1185.00,1215.00,1170.00,1215.00]},{ x:'07/05/2024',y:[1215.00,1335.00,1215.00,1320.00]},{ x:'07/12/2024',y:[1270.00,1285.00,1225.00,1270.00]},{ x:'07/15/2024',y:[1275.00,1290.00,1260.00,1275.00]},{ x:'07/16/2024',y:[1275.00,1280.00,1235.00,1240.00]},{ x:'07/17/2024',y:[1235.00,1260.00,1165.00,1175.00]},{ x:'07/18/2024',y:[1145.00,1155.00,1095.00,1120.00]},{ x:'07/19/2024',y:[1120.00,1160.00,1100.00,1140.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());