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:'03/13/2024',y:[113.05,113.10,112.75,113.10]},{ x:'03/14/2024',y:[111.65,111.95,111.65,111.90]},{ x:'03/15/2024',y:[110.50,110.55,109.90,109.95]},{ x:'03/18/2024',y:[108.35,109.10,108.20,109.10]},{ x:'03/19/2024',y:[109.20,109.60,109.05,109.35]},{ x:'03/20/2024',y:[110.15,110.30,110.00,110.00]},{ x:'03/21/2024',y:[113.95,114.60,113.85,114.55]},{ x:'03/22/2024',y:[114.35,114.40,113.60,114.10]},{ x:'03/25/2024',y:[114.15,114.35,113.80,113.80]},{ x:'03/26/2024',y:[113.80,113.90,113.45,113.70]},{ x:'03/27/2024',y:[113.20,113.45,113.05,113.45]},{ x:'03/28/2024',y:[113.25,113.40,113.05,113.30]},{ x:'03/29/2024',y:[113.00,113.00,112.70,112.80]},{ x:'04/01/2024',y:[114.45,114.45,113.95,114.20]},{ x:'04/02/2024',y:[112.75,113.10,112.70,112.85]},{ x:'04/03/2024',y:[110.95,110.95,110.65,110.75]},{ x:'04/08/2024',y:[110.85,111.15,110.45,110.65]},{ x:'04/09/2024',y:[110.70,111.10,110.55,111.00]},{ x:'04/10/2024',y:[111.60,111.70,111.55,111.65]},{ x:'04/11/2024',y:[109.20,109.70,109.00,109.65]},{ x:'04/12/2024',y:[112.95,113.05,112.85,112.90]},{ x:'04/15/2024',y:[109.75,110.25,109.45,110.20]},{ x:'04/16/2024',y:[105.70,105.70,104.50,105.40]},{ x:'04/17/2024',y:[105.80,106.25,105.80,106.05]},{ x:'04/18/2024',y:[103.30,103.90,103.30,103.80]},{ x:'04/19/2024',y:[100.55,100.55,98.20,99.90]},{ x:'04/22/2024',y:[98.15,98.65,98.00,98.55]},{ x:'04/23/2024',y:[99.35,99.45,98.80,99.30]},{ x:'04/24/2024',y:[103.50,103.95,103.50,103.95]},{ x:'04/25/2024',y:[101.05,101.05,100.15,100.20]},{ x:'04/26/2024',y:[103.95,104.45,103.90,104.20]},{ x:'04/29/2024',y:[105.50,105.90,105.50,105.85]},{ x:'04/30/2024',y:[105.85,105.95,105.50,105.50]},{ x:'05/02/2024',y:[101.45,101.85,101.40,101.80]},{ x:'05/03/2024',y:[104.20,104.30,103.80,103.80]},{ x:'05/06/2024',y:[106.85,106.95,106.60,106.60]},{ x:'05/07/2024',y:[108.70,108.90,108.65,108.90]},{ x:'05/08/2024',y:[109.05,109.25,108.75,108.75]},{ x:'05/09/2024',y:[108.60,108.75,108.30,108.30]},{ x:'05/10/2024',y:[109.55,109.60,109.20,109.45]},{ x:'05/13/2024',y:[109.80,110.10,109.65,110.05]},{ x:'05/14/2024',y:[110.05,110.05,109.75,110.05]},{ x:'05/15/2024',y:[111.60,111.80,111.40,111.45]},{ x:'05/16/2024',y:[115.15,115.35,115.05,115.15]},{ x:'05/17/2024',y:[114.45,114.50,114.20,114.30]},{ x:'05/20/2024',y:[114.50,114.65,114.40,114.65]},{ x:'05/21/2024',y:[115.55,115.60,115.40,115.60]},{ x:'05/22/2024',y:[116.20,116.40,116.20,116.35]},{ x:'05/23/2024',y:[117.05,118.20,116.90,117.90]},{ x:'05/24/2024',y:[115.10,115.30,114.95,114.95]},{ x:'06/11/2024',y:[119.50,119.60,119.35,119.50]},{ x:'06/12/2024',y:[121.40,121.70,121.40,121.55]},{ x:'06/13/2024',y:[126.05,126.40,126.00,126.10]},{ x:'06/14/2024',y:[126.10,126.50,126.00,126.35]},{ x:'06/17/2024',y:[127.10,127.30,127.00,127.10]},{ x:'06/18/2024',y:[129.95,130.00,129.60,129.85]},{ x:'06/19/2024',y:[130.05,130.40,130.05,130.10]},{ x:'06/20/2024',y:[130.55,131.65,130.55,131.45]},{ x:'06/21/2024',y:[127.80,128.40,127.80,128.30]},{ x:'06/24/2024',y:[127.65,127.65,126.40,127.10]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00670l 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());