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/30/2023',y:[69.00,74.50,69.00,72.70]},{ x:'07/03/2023',y:[72.70,79.40,72.70,78.90]},{ x:'07/04/2023',y:[77.80,78.40,74.90,76.60]},{ x:'07/05/2023',y:[77.00,77.40,74.90,75.70]},{ x:'07/06/2023',y:[75.90,77.20,75.00,76.50]},{ x:'07/07/2023',y:[76.40,81.70,75.10,79.50]},{ x:'07/10/2023',y:[76.10,79.40,75.70,77.90]},{ x:'07/11/2023',y:[78.90,80.00,75.80,76.10]},{ x:'07/12/2023',y:[75.70,78.80,74.60,74.80]},{ x:'07/13/2023',y:[75.90,77.00,75.10,76.00]},{ x:'07/14/2023',y:[76.70,76.90,73.80,75.20]},{ x:'07/17/2023',y:[75.20,78.00,74.70,77.70]},{ x:'07/18/2023',y:[78.00,79.60,75.00,78.70]},{ x:'07/19/2023',y:[79.00,83.50,78.70,80.70]},{ x:'07/20/2023',y:[80.70,81.00,78.30,80.20]},{ x:'07/21/2023',y:[79.70,81.50,77.80,77.80]},{ x:'07/24/2023',y:[78.00,79.50,75.10,79.10]},{ x:'07/25/2023',y:[79.50,81.40,78.90,80.50]},{ x:'07/26/2023',y:[80.60,85.00,80.00,82.00]},{ x:'07/27/2023',y:[82.40,83.40,78.50,78.50]},{ x:'07/28/2023',y:[78.50,79.00,76.00,77.60]},{ x:'07/31/2023',y:[78.30,81.40,77.50,80.10]},{ x:'08/01/2023',y:[80.90,81.60,79.20,81.60]},{ x:'08/02/2023',y:[80.90,81.30,76.20,76.90]},{ x:'08/04/2023',y:[76.20,82.50,76.10,81.40]},{ x:'08/07/2023',y:[82.10,86.80,82.00,85.00]},{ x:'08/08/2023',y:[83.00,84.90,80.50,83.00]},{ x:'08/09/2023',y:[84.40,84.40,79.30,80.00]},{ x:'08/10/2023',y:[80.00,81.50,78.30,80.80]},{ x:'08/11/2023',y:[80.80,81.00,79.10,79.60]},{ x:'08/14/2023',y:[79.60,81.00,78.50,79.90]},{ x:'08/15/2023',y:[80.30,81.60,79.60,79.70]},{ x:'08/16/2023',y:[79.20,83.00,78.80,82.30]},{ x:'08/17/2023',y:[82.30,87.50,81.70,85.10]},{ x:'08/18/2023',y:[87.70,93.60,86.50,93.60]},{ x:'08/21/2023',y:[97.60,101.00,92.00,94.00]},{ x:'08/22/2023',y:[94.00,98.50,88.20,90.80]},{ x:'08/23/2023',y:[89.20,91.30,87.50,90.90]},{ x:'08/24/2023',y:[90.50,92.20,88.80,90.10]},{ x:'08/25/2023',y:[90.60,91.40,88.90,89.10]},{ x:'08/28/2023',y:[89.00,89.20,86.80,87.20]},{ x:'08/29/2023',y:[88.00,91.30,87.20,90.80]},{ x:'08/30/2023',y:[90.30,95.50,90.30,94.50]},{ x:'08/31/2023',y:[94.70,97.80,94.00,96.00]},{ x:'09/01/2023',y:[96.10,97.50,94.30,96.70]},{ x:'09/04/2023',y:[96.70,98.00,95.50,95.90]},{ x:'09/05/2023',y:[97.30,97.30,93.90,94.80]},{ x:'09/06/2023',y:[94.80,94.90,93.00,93.20]},{ x:'09/07/2023',y:[93.20,98.40,93.20,97.70]},{ x:'09/08/2023',y:[98.00,98.40,94.00,94.80]},{ x:'09/11/2023',y:[97.20,100.50,93.80,94.30]},{ x:'09/12/2023',y:[94.80,103.50,94.70,103.50]},{ x:'09/13/2023',y:[106.00,112.00,102.50,110.00]},{ x:'09/14/2023',y:[109.50,121.00,108.00,121.00]},{ x:'09/15/2023',y:[120.00,124.00,116.00,123.00]},{ x:'09/18/2023',y:[120.00,120.50,111.00,111.00]},{ x:'09/19/2023',y:[111.50,113.00,108.00,112.00]},{ x:'09/20/2023',y:[112.00,113.00,111.00,112.00]},{ x:'09/21/2023',y:[111.50,112.50,108.50,111.50]},{ x:'09/22/2023',y:[111.00,112.50,109.50,111.00]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "6585 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());