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/16/2023',y:[57.90,57.90,56.00,56.50]},{ x:'06/19/2023',y:[56.10,57.60,56.10,57.50]},{ x:'06/20/2023',y:[57.50,58.00,56.10,57.80]},{ x:'06/21/2023',y:[58.90,62.80,58.00,61.20]},{ x:'06/26/2023',y:[61.20,64.40,59.00,62.10]},{ x:'06/27/2023',y:[61.00,63.70,59.50,59.50]},{ x:'06/28/2023',y:[60.40,65.40,60.40,63.10]},{ x:'06/29/2023',y:[62.00,64.00,61.30,62.60]},{ x:'06/30/2023',y:[63.00,68.80,62.20,68.80]},{ x:'07/03/2023',y:[72.30,73.50,69.30,70.80]},{ x:'07/04/2023',y:[71.20,76.00,68.60,74.30]},{ x:'07/05/2023',y:[77.50,81.20,76.00,81.20]},{ x:'07/06/2023',y:[79.90,83.10,77.30,79.80]},{ x:'07/07/2023',y:[80.60,87.70,80.60,81.90]},{ x:'07/10/2023',y:[81.10,82.80,78.50,79.60]},{ x:'07/11/2023',y:[81.30,85.80,81.30,85.80]},{ x:'07/12/2023',y:[87.20,90.60,84.60,90.60]},{ x:'07/13/2023',y:[90.80,95.90,89.70,90.50]},{ x:'07/14/2023',y:[92.00,94.50,91.50,93.60]},{ x:'07/17/2023',y:[94.00,99.50,94.00,99.00]},{ x:'07/18/2023',y:[102.50,102.50,89.10,89.10]},{ x:'07/19/2023',y:[91.40,94.70,88.00,92.20]},{ x:'07/20/2023',y:[94.10,98.00,93.80,96.00]},{ x:'07/21/2023',y:[91.90,99.90,91.50,99.90]},{ x:'07/24/2023',y:[98.90,98.90,90.00,90.10]},{ x:'07/25/2023',y:[88.60,90.60,82.40,83.70]},{ x:'07/26/2023',y:[85.10,87.20,82.50,86.20]},{ x:'07/27/2023',y:[85.90,87.50,83.90,84.40]},{ x:'07/28/2023',y:[85.00,90.90,84.00,90.90]},{ x:'07/31/2023',y:[92.00,96.00,87.00,87.20]},{ x:'08/01/2023',y:[87.20,89.50,78.80,80.60]},{ x:'08/02/2023',y:[80.60,81.40,74.40,75.60]},{ x:'08/04/2023',y:[75.50,77.90,73.00,75.70]},{ x:'08/07/2023',y:[75.10,78.90,73.70,78.10]},{ x:'08/08/2023',y:[78.60,79.90,76.80,77.70]},{ x:'08/09/2023',y:[77.00,78.80,76.00,76.60]},{ x:'08/10/2023',y:[76.60,76.60,72.50,72.70]},{ x:'08/11/2023',y:[74.30,76.00,74.00,74.00]},{ x:'08/14/2023',y:[74.30,74.30,71.30,72.20]},{ x:'08/15/2023',y:[73.80,75.40,73.30,75.00]},{ x:'08/16/2023',y:[75.00,77.40,72.60,77.00]},{ x:'08/17/2023',y:[76.00,79.30,75.70,79.10]},{ x:'08/18/2023',y:[79.30,81.00,75.90,76.00]},{ x:'08/21/2023',y:[77.00,79.20,76.40,77.40]},{ x:'08/22/2023',y:[78.90,79.70,76.10,76.20]},{ x:'08/23/2023',y:[76.30,78.20,75.10,75.70]},{ x:'08/24/2023',y:[76.40,77.70,73.20,74.20]},{ x:'08/25/2023',y:[73.90,74.40,71.80,71.80]},{ x:'08/28/2023',y:[73.10,73.80,70.60,73.00]},{ x:'08/29/2023',y:[73.20,75.60,73.10,73.20]},{ x:'08/30/2023',y:[73.90,74.80,73.40,74.50]},{ x:'08/31/2023',y:[74.60,75.10,73.70,74.20]},{ x:'09/01/2023',y:[74.20,80.30,74.20,78.60]},{ x:'09/04/2023',y:[78.70,78.70,75.80,77.40]},{ x:'09/05/2023',y:[77.70,83.40,77.50,82.40]},{ x:'09/06/2023',y:[82.60,83.40,81.10,81.50]},{ x:'09/07/2023',y:[80.50,82.10,78.20,78.50]},{ x:'09/08/2023',y:[78.50,78.50,76.90,77.00]},{ x:'09/11/2023',y:[83.30,83.80,78.50,79.20]},{ x:'09/12/2023',y:[81.00,81.60,76.80,79.00]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "8048 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());