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:[105.00,106.50,105.00,105.50]},{ x:'06/14/2023',y:[105.50,106.50,105.50,106.50]},{ x:'06/15/2023',y:[106.50,108.50,106.00,108.50]},{ x:'06/16/2023',y:[108.50,109.00,107.00,107.00]},{ x:'06/19/2023',y:[107.00,107.00,106.00,106.00]},{ x:'06/20/2023',y:[106.00,106.00,105.00,105.50]},{ x:'06/21/2023',y:[105.50,107.50,105.50,107.50]},{ x:'06/26/2023',y:[107.50,107.50,106.50,107.50]},{ x:'06/27/2023',y:[107.00,107.00,106.00,106.50]},{ x:'06/28/2023',y:[107.00,107.50,105.50,107.00]},{ x:'06/29/2023',y:[107.00,107.50,106.50,107.00]},{ x:'06/30/2023',y:[107.00,108.00,106.00,107.50]},{ x:'07/03/2023',y:[107.50,107.50,106.00,107.00]},{ x:'07/04/2023',y:[107.50,108.00,106.50,108.00]},{ x:'07/05/2023',y:[107.50,108.50,107.00,107.50]},{ x:'07/06/2023',y:[107.50,108.00,107.00,107.50]},{ x:'07/07/2023',y:[107.50,107.50,106.50,107.00]},{ x:'07/10/2023',y:[107.00,107.00,105.50,105.50]},{ x:'07/11/2023',y:[105.50,106.00,105.00,105.50]},{ x:'07/12/2023',y:[106.00,106.00,105.00,105.50]},{ x:'07/13/2023',y:[106.00,106.50,105.50,105.50]},{ x:'07/14/2023',y:[105.50,107.00,105.50,106.50]},{ x:'07/17/2023',y:[107.50,107.50,106.50,107.50]},{ x:'07/18/2023',y:[107.50,108.00,106.50,107.00]},{ x:'07/19/2023',y:[107.50,108.00,106.50,106.50]},{ x:'07/20/2023',y:[97.50,98.80,97.30,98.40]},{ x:'07/21/2023',y:[98.40,98.50,97.40,98.50]},{ x:'07/24/2023',y:[98.50,98.50,96.80,96.90]},{ x:'07/25/2023',y:[96.90,97.90,96.30,97.00]},{ x:'07/26/2023',y:[96.80,96.90,95.60,96.50]},{ x:'07/27/2023',y:[96.50,97.40,96.30,97.00]},{ x:'07/28/2023',y:[96.60,97.60,96.60,97.60]},{ x:'07/31/2023',y:[98.30,98.40,97.50,97.50]},{ x:'08/01/2023',y:[97.00,97.60,96.60,96.80]},{ x:'08/02/2023',y:[98.00,98.00,96.10,96.70]},{ x:'08/04/2023',y:[96.50,96.90,95.70,96.90]},{ x:'08/07/2023',y:[96.40,96.90,96.20,96.90]},{ x:'08/08/2023',y:[96.60,97.10,96.20,96.70]},{ x:'08/09/2023',y:[96.50,96.50,96.20,96.40]},{ x:'08/10/2023',y:[96.20,96.20,95.00,96.00]},{ x:'08/11/2023',y:[95.80,95.80,94.70,95.80]},{ x:'08/14/2023',y:[95.10,95.10,93.20,94.40]},{ x:'08/15/2023',y:[93.60,94.50,93.40,94.40]},{ x:'08/16/2023',y:[94.00,94.30,93.10,94.00]},{ x:'08/17/2023',y:[93.60,94.40,92.70,93.80]},{ x:'08/18/2023',y:[93.70,94.00,93.00,93.90]},{ x:'08/21/2023',y:[94.30,94.30,93.10,93.60]},{ x:'08/22/2023',y:[94.00,94.00,93.00,93.50]},{ x:'08/23/2023',y:[93.60,94.00,93.10,94.00]},{ x:'08/24/2023',y:[94.00,94.50,93.70,94.50]},{ x:'08/25/2023',y:[94.20,94.90,93.70,94.90]},{ x:'08/28/2023',y:[94.50,94.90,94.40,94.70]},{ x:'08/29/2023',y:[95.00,95.40,94.80,94.80]},{ x:'08/30/2023',y:[95.30,96.00,95.10,95.60]},{ x:'08/31/2023',y:[95.60,98.00,95.60,98.00]},{ x:'09/01/2023',y:[98.00,102.50,97.20,99.80]},{ x:'09/04/2023',y:[99.90,101.00,99.30,99.80]},{ x:'09/05/2023',y:[99.90,100.50,99.90,100.50]},{ x:'09/06/2023',y:[100.00,100.50,99.30,99.80]},{ x:'09/07/2023',y:[99.70,100.00,98.60,99.60]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "3026 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());