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:[853.00,864.00,816.00,863.00]},{ x:'04/26/2024',y:[875.00,898.00,842.00,854.00]},{ x:'04/29/2024',y:[858.00,872.00,833.00,853.00]},{ x:'04/30/2024',y:[853.00,853.00,815.00,847.00]},{ x:'05/02/2024',y:[845.00,855.00,799.00,802.00]},{ x:'05/03/2024',y:[813.00,839.00,805.00,818.00]},{ x:'05/06/2024',y:[832.00,834.00,792.00,797.00]},{ x:'05/07/2024',y:[800.00,820.00,780.00,817.00]},{ x:'05/08/2024',y:[817.00,898.00,812.00,888.00]},{ x:'05/09/2024',y:[894.00,894.00,830.00,835.00]},{ x:'05/10/2024',y:[838.00,848.00,798.00,798.00]},{ x:'05/13/2024',y:[785.00,785.00,725.00,750.00]},{ x:'05/14/2024',y:[750.00,792.00,729.00,767.00]},{ x:'05/15/2024',y:[790.00,804.00,753.00,755.00]},{ x:'05/16/2024',y:[758.00,777.00,737.00,739.00]},{ x:'05/17/2024',y:[748.00,751.00,727.00,741.00]},{ x:'05/20/2024',y:[745.00,767.00,731.00,731.00]},{ x:'05/21/2024',y:[733.00,743.00,718.00,730.00]},{ x:'05/22/2024',y:[730.00,732.00,688.00,690.00]},{ x:'05/23/2024',y:[689.00,693.00,671.00,683.00]},{ x:'05/24/2024',y:[682.00,710.00,673.00,704.00]},{ x:'06/11/2024',y:[750.00,794.00,742.00,792.00]},{ x:'06/12/2024',y:[799.00,813.00,768.00,788.00]},{ x:'06/13/2024',y:[798.00,865.00,783.00,837.00]},{ x:'06/14/2024',y:[851.00,920.00,850.00,920.00]},{ x:'06/17/2024',y:[935.00,964.00,904.00,905.00]},{ x:'06/18/2024',y:[912.00,951.00,889.00,945.00]},{ x:'06/19/2024',y:[939.00,952.00,920.00,930.00]},{ x:'06/20/2024',y:[931.00,955.00,931.00,945.00]},{ x:'06/21/2024',y:[943.00,950.00,930.00,947.00]},{ x:'06/24/2024',y:[948.00,948.00,900.00,900.00]},{ x:'06/25/2024',y:[899.00,920.00,864.00,920.00]},{ x:'06/26/2024',y:[918.00,927.00,913.00,919.00]},{ x:'06/27/2024',y:[909.00,936.00,909.00,925.00]},{ x:'06/28/2024',y:[928.00,948.00,928.00,945.00]},{ x:'07/01/2024',y:[949.00,955.00,935.00,936.00]},{ x:'07/02/2024',y:[941.00,955.00,941.00,955.00]},{ x:'07/03/2024',y:[965.00,970.00,946.00,970.00]},{ x:'07/04/2024',y:[998.00,1015.00,979.00,1015.00]},{ x:'07/05/2024',y:[1015.00,1030.00,930.00,936.00]},{ x:'07/12/2024',y:[938.00,950.00,907.00,907.00]},{ x:'07/15/2024',y:[919.00,967.00,905.00,960.00]},{ x:'07/16/2024',y:[965.00,975.00,922.00,935.00]},{ x:'07/17/2024',y:[940.00,969.00,933.00,952.00]},{ x:'07/18/2024',y:[948.00,958.00,921.00,933.00]},{ x:'07/19/2024',y:[937.00,958.00,934.00,957.00]},{ x:'07/22/2024',y:[974.00,978.00,865.00,865.00]},{ x:'07/23/2024',y:[894.00,940.00,888.00,940.00]},{ x:'07/26/2024',y:[819.00,828.00,765.00,775.00]},{ x:'07/29/2024',y:[799.00,799.00,703.00,711.00]},{ x:'07/30/2024',y:[715.00,774.00,710.00,714.00]},{ x:'07/31/2024',y:[714.00,723.00,690.00,694.00]},{ x:'08/01/2024',y:[707.00,716.00,685.00,685.00]},{ x:'08/02/2024',y:[672.00,679.00,658.00,661.00]},{ x:'08/05/2024',y:[625.00,644.00,595.00,604.00]},{ x:'08/06/2024',y:[630.00,639.00,573.00,588.00]},{ x:'08/07/2024',y:[567.00,628.00,567.00,624.00]},{ x:'08/08/2024',y:[608.00,613.00,582.00,594.00]},{ x:'08/09/2024',y:[619.00,653.00,615.00,632.00]},{ x:'08/12/2024',y:[629.00,695.00,629.00,687.00]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "1519 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());