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:'07/28/2023',y:[82.90,83.80,81.70,83.70]},{ x:'07/31/2023',y:[84.90,85.20,81.60,81.90]},{ x:'08/01/2023',y:[82.70,84.50,82.60,82.60]},{ x:'08/02/2023',y:[82.60,82.90,79.60,80.00]},{ x:'08/04/2023',y:[79.50,79.90,78.30,79.60]},{ x:'08/07/2023',y:[79.90,80.90,79.30,80.50]},{ x:'08/08/2023',y:[80.60,80.60,78.30,78.70]},{ x:'08/09/2023',y:[81.80,84.20,79.10,79.50]},{ x:'08/10/2023',y:[78.90,78.90,76.30,76.70]},{ x:'08/11/2023',y:[77.00,77.60,75.40,76.00]},{ x:'08/14/2023',y:[75.40,75.70,72.10,74.30]},{ x:'08/15/2023',y:[75.50,77.30,75.30,77.00]},{ x:'08/16/2023',y:[75.80,75.90,74.70,74.80]},{ x:'08/17/2023',y:[73.80,78.40,72.90,78.00]},{ x:'08/18/2023',y:[77.80,78.10,75.50,76.00]},{ x:'08/21/2023',y:[76.80,77.20,76.10,76.70]},{ x:'08/22/2023',y:[77.30,78.40,76.70,77.60]},{ x:'08/23/2023',y:[77.80,78.80,77.30,78.50]},{ x:'08/24/2023',y:[79.70,82.00,79.20,79.50]},{ x:'08/25/2023',y:[78.80,80.20,77.90,79.20]},{ x:'08/28/2023',y:[78.20,78.90,75.80,75.90]},{ x:'08/29/2023',y:[76.70,78.20,76.50,77.60]},{ x:'08/30/2023',y:[78.40,83.90,78.10,83.80]},{ x:'08/31/2023',y:[85.00,89.50,84.50,86.80]},{ x:'09/01/2023',y:[86.80,88.90,86.50,87.90]},{ x:'09/04/2023',y:[89.00,89.40,86.00,86.00]},{ x:'09/05/2023',y:[86.40,88.20,85.70,87.40]},{ x:'09/06/2023',y:[88.50,89.10,86.50,86.80]},{ x:'09/07/2023',y:[86.50,91.20,86.10,88.80]},{ x:'09/08/2023',y:[88.30,88.50,86.50,86.90]},{ x:'09/11/2023',y:[88.40,90.40,88.10,88.60]},{ x:'09/12/2023',y:[89.50,92.00,87.50,90.40]},{ x:'09/13/2023',y:[90.40,91.00,88.10,90.70]},{ x:'09/14/2023',y:[92.00,92.20,90.30,90.80]},{ x:'09/15/2023',y:[91.90,93.80,91.10,93.40]},{ x:'09/18/2023',y:[91.90,92.90,91.30,91.40]},{ x:'09/19/2023',y:[91.90,92.80,89.80,90.30]},{ x:'09/20/2023',y:[90.30,91.10,87.10,87.20]},{ x:'09/21/2023',y:[86.90,87.60,86.00,87.60]},{ x:'09/22/2023',y:[86.60,89.30,86.20,89.30]},{ x:'09/25/2023',y:[89.80,90.30,88.60,88.70]},{ x:'09/26/2023',y:[88.30,88.60,86.20,86.20]},{ x:'09/27/2023',y:[86.20,87.60,85.00,87.20]},{ x:'09/28/2023',y:[86.20,86.40,84.20,84.50]},{ x:'10/02/2023',y:[85.90,88.70,85.70,88.40]},{ x:'10/03/2023',y:[89.10,95.50,89.10,92.90]},{ x:'10/04/2023',y:[92.50,95.20,91.90,92.50]},{ x:'10/05/2023',y:[93.80,93.90,90.70,91.00]},{ x:'10/06/2023',y:[92.40,94.80,91.90,93.00]},{ x:'10/11/2023',y:[94.10,94.70,92.10,92.20]},{ x:'10/12/2023',y:[93.60,94.50,91.50,93.60]},{ x:'10/13/2023',y:[93.30,98.90,92.70,96.70]},{ x:'10/18/2023',y:[101.50,105.00,98.00,101.50]},{ x:'10/19/2023',y:[100.00,107.50,99.70,104.00]},{ x:'10/20/2023',y:[103.00,105.50,100.00,105.00]},{ x:'10/23/2023',y:[105.00,107.00,103.50,106.00]},{ x:'10/24/2023',y:[107.50,109.00,99.90,101.50]},{ x:'10/25/2023',y:[101.00,102.00,98.00,99.10]},{ x:'10/26/2023',y:[97.80,100.00,96.60,97.50]},{ x:'10/27/2023',y:[97.70,98.30,94.00,94.10]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "3260 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());