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:'06/05/2023',y:[74.30,79.40,73.50,78.40]},{ x:'06/06/2023',y:[78.80,80.50,74.80,77.50]},{ x:'06/07/2023',y:[78.70,84.90,77.70,83.80]},{ x:'06/08/2023',y:[83.10,84.20,81.20,81.50]},{ x:'06/09/2023',y:[81.00,81.80,78.70,80.20]},{ x:'06/12/2023',y:[81.00,81.90,78.30,80.60]},{ x:'06/13/2023',y:[82.00,82.80,80.70,81.10]},{ x:'06/14/2023',y:[81.10,83.50,80.80,82.20]},{ x:'06/15/2023',y:[83.70,86.20,82.60,83.50]},{ x:'06/16/2023',y:[82.50,82.50,79.90,80.30]},{ x:'06/19/2023',y:[80.30,81.10,79.00,79.70]},{ x:'06/20/2023',y:[80.60,81.40,79.60,80.80]},{ x:'06/21/2023',y:[82.20,88.80,82.10,88.30]},{ x:'06/26/2023',y:[87.30,89.40,85.90,87.40]},{ x:'06/27/2023',y:[86.80,87.50,79.20,80.80]},{ x:'06/28/2023',y:[81.50,83.30,81.50,82.20]},{ x:'06/29/2023',y:[82.80,84.50,82.50,83.60]},{ x:'06/30/2023',y:[83.90,90.00,82.80,88.30]},{ x:'07/03/2023',y:[91.80,94.70,90.50,91.10]},{ x:'07/04/2023',y:[91.80,92.60,88.30,91.00]},{ x:'07/05/2023',y:[92.00,93.00,90.00,93.00]},{ x:'07/06/2023',y:[91.90,93.90,89.50,90.00]},{ x:'07/07/2023',y:[89.60,90.50,87.30,87.50]},{ x:'07/10/2023',y:[88.20,89.00,86.10,87.50]},{ x:'07/11/2023',y:[88.50,92.80,88.00,90.50]},{ x:'07/12/2023',y:[89.50,93.60,89.50,90.90]},{ x:'07/13/2023',y:[99.90,99.90,99.90,99.90]},{ x:'07/14/2023',y:[109.50,109.50,109.50,109.50]},{ x:'07/17/2023',y:[119.50,120.00,119.00,120.00]},{ x:'07/18/2023',y:[124.50,131.50,112.00,126.50]},{ x:'07/19/2023',y:[137.00,139.00,129.00,133.00]},{ x:'07/20/2023',y:[131.00,138.00,131.00,138.00]},{ x:'07/21/2023',y:[150.00,151.50,147.00,151.50]},{ x:'07/24/2023',y:[164.50,166.50,148.00,158.00]},{ x:'07/25/2023',y:[152.00,153.00,147.50,147.50]},{ x:'07/26/2023',y:[150.50,153.00,144.00,145.00]},{ x:'07/27/2023',y:[145.50,151.00,145.50,149.50]},{ x:'07/28/2023',y:[152.00,164.00,148.00,164.00]},{ x:'07/31/2023',y:[165.00,169.00,148.00,148.00]},{ x:'08/01/2023',y:[148.50,150.00,143.00,146.00]},{ x:'08/02/2023',y:[146.00,147.50,131.50,131.50]},{ x:'08/04/2023',y:[131.00,143.50,129.00,143.50]},{ x:'08/07/2023',y:[142.00,151.00,142.00,148.50]},{ x:'08/08/2023',y:[149.50,149.50,139.50,144.00]},{ x:'08/09/2023',y:[148.00,158.00,147.00,158.00]},{ x:'08/10/2023',y:[158.00,165.00,145.50,162.50]},{ x:'08/11/2023',y:[160.00,161.00,146.50,146.50]},{ x:'08/14/2023',y:[135.00,141.50,132.00,132.50]},{ x:'08/15/2023',y:[137.00,140.00,133.50,136.00]},{ x:'08/16/2023',y:[134.00,146.50,134.00,145.00]},{ x:'08/17/2023',y:[141.00,152.00,140.50,146.00]},{ x:'08/18/2023',y:[145.00,151.50,140.50,143.00]},{ x:'08/21/2023',y:[149.50,156.50,140.50,152.00]},{ x:'08/22/2023',y:[152.50,154.50,148.50,150.50]},{ x:'08/23/2023',y:[146.00,149.50,143.00,144.00]},{ x:'08/24/2023',y:[144.50,149.00,139.00,140.00]},{ x:'08/25/2023',y:[140.00,143.00,136.50,140.00]},{ x:'08/28/2023',y:[141.00,141.00,129.00,133.00]},{ x:'08/29/2023',y:[135.50,136.50,130.50,134.00]},{ x:'08/30/2023',y:[136.50,138.00,135.00,135.00]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "3483 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());