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:'05/25/2023',y:[82.30,83.50,81.70,82.90]},{ x:'05/26/2023',y:[84.80,85.40,83.10,84.10]},{ x:'05/29/2023',y:[86.00,87.50,85.20,86.20]},{ x:'05/30/2023',y:[88.00,88.40,85.90,86.00]},{ x:'05/31/2023',y:[86.10,89.50,86.10,89.20]},{ x:'06/01/2023',y:[87.80,89.00,87.30,87.90]},{ x:'06/02/2023',y:[88.00,89.00,87.10,87.60]},{ x:'06/05/2023',y:[88.20,89.40,87.80,88.60]},{ x:'06/06/2023',y:[88.80,89.20,86.80,87.10]},{ x:'06/07/2023',y:[87.60,92.20,87.60,91.90]},{ x:'06/08/2023',y:[91.70,92.80,88.70,88.70]},{ x:'06/09/2023',y:[90.00,91.80,89.10,90.90]},{ x:'06/12/2023',y:[93.90,94.00,90.00,90.00]},{ x:'06/13/2023',y:[91.60,94.30,91.20,91.70]},{ x:'06/14/2023',y:[92.50,94.20,92.00,92.00]},{ x:'06/15/2023',y:[92.80,93.60,91.40,92.30]},{ x:'06/16/2023',y:[94.30,94.80,92.80,93.00]},{ x:'06/19/2023',y:[93.20,93.20,91.50,91.90]},{ x:'06/20/2023',y:[92.90,92.90,89.30,90.70]},{ x:'06/21/2023',y:[91.20,95.00,90.70,93.80]},{ x:'06/26/2023',y:[93.80,95.60,92.10,92.50]},{ x:'06/27/2023',y:[92.90,99.50,90.90,92.40]},{ x:'06/28/2023',y:[93.50,96.00,92.60,93.30]},{ x:'06/29/2023',y:[94.10,95.20,92.70,94.80]},{ x:'06/30/2023',y:[95.20,97.60,93.70,97.20]},{ x:'07/03/2023',y:[99.90,104.50,97.50,103.00]},{ x:'07/04/2023',y:[103.50,112.00,101.50,110.00]},{ x:'07/05/2023',y:[113.00,118.50,111.00,114.50]},{ x:'07/06/2023',y:[114.50,118.00,112.50,116.00]},{ x:'07/07/2023',y:[116.00,118.00,110.00,114.00]},{ x:'07/10/2023',y:[115.00,118.00,112.00,115.00]},{ x:'07/11/2023',y:[116.50,117.50,112.50,117.00]},{ x:'07/12/2023',y:[122.00,125.50,113.00,114.00]},{ x:'07/13/2023',y:[115.00,119.50,113.50,117.50]},{ x:'07/14/2023',y:[119.00,120.00,114.00,117.00]},{ x:'07/17/2023',y:[116.00,120.50,115.00,119.00]},{ x:'07/18/2023',y:[120.00,120.50,111.00,115.50]},{ x:'07/19/2023',y:[118.00,127.00,116.00,127.00]},{ x:'07/20/2023',y:[132.50,135.00,114.50,114.50]},{ x:'07/21/2023',y:[108.50,113.00,106.00,108.00]},{ x:'07/24/2023',y:[109.00,109.00,103.00,107.00]},{ x:'07/25/2023',y:[108.00,109.50,106.00,106.50]},{ x:'07/26/2023',y:[107.00,107.00,103.00,103.50]},{ x:'07/27/2023',y:[105.50,110.50,104.50,109.00]},{ x:'07/28/2023',y:[114.00,118.50,110.00,117.50]},{ x:'07/31/2023',y:[118.00,119.00,112.00,112.50]},{ x:'08/01/2023',y:[114.00,119.00,113.50,115.50]},{ x:'08/02/2023',y:[115.00,116.50,106.50,110.00]},{ x:'08/04/2023',y:[112.00,114.00,108.50,113.00]},{ x:'08/07/2023',y:[114.50,116.00,111.50,115.50]},{ x:'08/08/2023',y:[116.00,117.50,112.00,114.50]},{ x:'08/09/2023',y:[112.00,114.00,111.00,111.00]},{ x:'08/10/2023',y:[111.00,111.50,104.00,104.50]},{ x:'08/11/2023',y:[104.00,106.50,103.00,103.00]},{ x:'08/14/2023',y:[100.50,104.50,100.50,102.00]},{ x:'08/15/2023',y:[104.00,105.50,102.00,103.00]},{ x:'08/16/2023',y:[103.00,104.00,100.50,103.50]},{ x:'08/17/2023',y:[103.00,107.00,103.00,106.50]},{ x:'08/18/2023',y:[106.00,107.00,102.00,102.50]},{ x:'08/21/2023',y:[103.50,105.00,102.00,103.50]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "3289 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());