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/08/2023',y:[90.00,92.30,86.70,87.70]},{ x:'06/09/2023',y:[89.10,89.10,86.00,86.60]},{ x:'06/12/2023',y:[89.30,91.40,87.30,87.70]},{ x:'06/13/2023',y:[88.50,89.60,87.50,87.90]},{ x:'06/14/2023',y:[88.00,89.20,86.90,87.00]},{ x:'06/15/2023',y:[87.00,88.00,86.40,87.40]},{ x:'06/16/2023',y:[87.50,88.30,86.60,86.70]},{ x:'06/19/2023',y:[86.90,90.80,84.50,90.00]},{ x:'06/20/2023',y:[89.40,97.60,88.30,93.00]},{ x:'06/21/2023',y:[93.00,96.70,91.20,93.50]},{ x:'06/26/2023',y:[93.50,102.50,93.50,102.50]},{ x:'06/27/2023',y:[108.50,112.50,107.00,112.50]},{ x:'06/28/2023',y:[112.00,112.00,101.50,101.50]},{ x:'06/29/2023',y:[102.00,103.00,97.50,98.60]},{ x:'06/30/2023',y:[99.70,105.50,99.30,100.50]},{ x:'07/03/2023',y:[101.00,103.50,99.90,102.00]},{ x:'07/04/2023',y:[102.50,103.50,100.00,101.50]},{ x:'07/05/2023',y:[102.50,111.50,102.00,111.50]},{ x:'07/06/2023',y:[115.00,119.50,108.00,108.00]},{ x:'07/07/2023',y:[108.50,114.50,108.00,110.50]},{ x:'07/10/2023',y:[111.50,113.00,108.50,109.50]},{ x:'07/11/2023',y:[109.50,110.00,103.50,108.50]},{ x:'07/12/2023',y:[110.00,112.00,105.50,107.50]},{ x:'07/13/2023',y:[112.00,117.50,111.00,116.00]},{ x:'07/14/2023',y:[117.50,118.00,112.00,112.50]},{ x:'07/17/2023',y:[112.00,112.50,106.00,106.00]},{ x:'07/18/2023',y:[106.50,106.50,100.50,102.00]},{ x:'07/19/2023',y:[104.00,105.00,98.40,98.80]},{ x:'07/20/2023',y:[99.60,100.50,95.30,95.40]},{ x:'07/21/2023',y:[95.40,97.70,91.00,91.20]},{ x:'07/24/2023',y:[91.80,92.10,86.60,87.90]},{ x:'07/25/2023',y:[88.60,91.40,88.30,88.80]},{ x:'07/26/2023',y:[88.60,88.60,84.90,85.30]},{ x:'07/27/2023',y:[85.50,86.60,83.90,83.90]},{ x:'07/28/2023',y:[83.10,85.10,82.30,83.40]},{ x:'07/31/2023',y:[83.90,87.70,83.40,85.70]},{ x:'08/01/2023',y:[85.70,86.30,83.20,84.30]},{ x:'08/02/2023',y:[84.40,86.40,80.00,81.00]},{ x:'08/04/2023',y:[81.00,81.50,79.70,80.80]},{ x:'08/07/2023',y:[80.80,81.20,78.50,80.60]},{ x:'08/08/2023',y:[80.80,80.90,78.40,78.80]},{ x:'08/09/2023',y:[78.90,80.40,77.60,77.60]},{ x:'08/10/2023',y:[77.60,77.80,74.50,75.60]},{ x:'08/11/2023',y:[76.00,77.40,75.40,75.60]},{ x:'08/14/2023',y:[76.10,76.30,73.20,74.60]},{ x:'08/15/2023',y:[74.50,75.10,73.60,75.10]},{ x:'08/16/2023',y:[74.00,77.30,73.20,76.70]},{ x:'08/17/2023',y:[76.00,81.60,75.50,81.00]},{ x:'08/18/2023',y:[80.40,82.30,80.20,81.60]},{ x:'08/21/2023',y:[81.60,82.40,80.80,82.00]},{ x:'08/22/2023',y:[82.40,82.70,80.60,81.70]},{ x:'08/23/2023',y:[81.90,82.30,79.50,79.50]},{ x:'08/24/2023',y:[80.00,81.00,78.40,80.60]},{ x:'08/25/2023',y:[80.10,82.20,80.00,80.90]},{ x:'08/28/2023',y:[67.50,68.10,63.10,65.00]},{ x:'08/29/2023',y:[65.10,65.90,64.20,65.40]},{ x:'08/30/2023',y:[65.50,69.70,65.50,69.40]},{ x:'08/31/2023',y:[70.10,70.60,68.00,68.10]},{ x:'09/01/2023',y:[68.10,69.70,67.50,67.60]},{ x:'09/04/2023',y:[68.50,70.80,68.30,70.40]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "6111 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());