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/13/2023',y:[87.70,88.30,85.50,86.00]},{ x:'06/14/2023',y:[86.90,89.60,86.20,89.40]},{ x:'06/15/2023',y:[90.00,91.50,87.50,87.80]},{ x:'06/16/2023',y:[88.80,94.50,88.00,92.10]},{ x:'06/19/2023',y:[92.00,94.30,89.80,92.50]},{ x:'06/20/2023',y:[93.00,93.50,89.80,90.40]},{ x:'06/21/2023',y:[90.50,91.10,89.10,90.60]},{ x:'06/26/2023',y:[89.50,90.00,86.60,86.90]},{ x:'06/27/2023',y:[84.90,88.30,83.50,86.40]},{ x:'06/28/2023',y:[87.40,92.50,87.40,88.20]},{ x:'06/29/2023',y:[90.60,92.70,89.70,92.30]},{ x:'06/30/2023',y:[90.40,90.70,88.30,89.00]},{ x:'07/03/2023',y:[89.00,90.00,87.60,89.70]},{ x:'07/04/2023',y:[91.00,92.90,90.50,92.90]},{ x:'07/05/2023',y:[94.70,95.60,90.20,90.40]},{ x:'07/06/2023',y:[89.50,90.70,87.40,87.40]},{ x:'07/07/2023',y:[86.80,86.90,82.40,83.30]},{ x:'07/10/2023',y:[83.10,83.70,81.40,81.80]},{ x:'07/11/2023',y:[82.20,83.70,81.60,82.20]},{ x:'07/12/2023',y:[82.50,82.80,81.20,81.60]},{ x:'07/13/2023',y:[82.00,84.50,82.00,83.30]},{ x:'07/14/2023',y:[84.30,85.90,83.30,85.70]},{ x:'07/17/2023',y:[85.50,85.80,83.80,84.80]},{ x:'07/18/2023',y:[85.20,85.40,81.70,81.90]},{ x:'07/19/2023',y:[82.10,84.50,82.00,82.50]},{ x:'07/20/2023',y:[82.40,82.50,80.20,81.00]},{ x:'07/21/2023',y:[79.00,80.30,78.20,79.80]},{ x:'07/24/2023',y:[80.10,80.10,77.50,78.60]},{ x:'07/25/2023',y:[79.00,79.40,77.30,78.10]},{ x:'07/26/2023',y:[78.00,78.10,76.00,76.80]},{ x:'07/27/2023',y:[79.30,82.40,78.30,81.30]},{ 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]} ] }], 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());