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/19/2024',y:[170.65,172.55,170.45,172.55]},{ x:'03/20/2024',y:[173.50,173.50,172.00,172.00]},{ x:'03/21/2024',y:[176.05,178.50,176.05,178.35]},{ x:'03/22/2024',y:[178.50,178.55,178.20,178.20]},{ x:'03/25/2024',y:[0.00,0.00,0.00,0.00]},{ x:'03/26/2024',y:[181.00,181.45,177.90,177.90]},{ x:'03/27/2024',y:[178.20,179.20,178.20,178.75]},{ x:'03/28/2024',y:[176.70,178.30,176.05,178.05]},{ x:'03/29/2024',y:[179.35,179.35,178.90,178.90]},{ x:'04/01/2024',y:[179.95,179.95,179.15,179.50]},{ x:'04/02/2024',y:[181.25,183.10,181.25,183.10]},{ x:'04/03/2024',y:[181.10,181.20,180.45,180.45]},{ x:'04/08/2024',y:[182.50,182.60,182.40,182.60]},{ x:'04/09/2024',y:[184.20,189.85,184.20,189.85]},{ x:'04/10/2024',y:[189.50,189.60,189.20,189.20]},{ x:'04/11/2024',y:[187.05,187.05,186.10,186.15]},{ x:'04/12/2024',y:[187.70,187.70,187.70,187.70]},{ x:'04/15/2024',y:[184.40,184.40,182.55,183.40]},{ x:'04/16/2024',y:[178.90,178.90,170.55,172.80]},{ x:'04/17/2024',y:[174.45,177.45,174.45,176.80]},{ x:'04/18/2024',y:[174.65,178.85,174.65,178.85]},{ x:'04/19/2024',y:[169.75,169.75,160.65,165.40]},{ x:'04/22/2024',y:[165.20,167.45,164.35,165.05]},{ x:'04/23/2024',y:[168.40,168.40,165.60,167.60]},{ x:'04/24/2024',y:[172.50,176.00,172.50,175.95]},{ x:'04/25/2024',y:[171.90,171.90,170.60,170.80]},{ x:'04/26/2024',y:[175.30,177.35,175.30,176.00]},{ x:'04/29/2024',y:[180.65,182.60,180.65,182.05]},{ x:'04/30/2024',y:[182.35,182.50,182.20,182.20]},{ x:'05/02/2024',y:[178.15,178.25,178.00,178.00]},{ x:'05/03/2024',y:[182.10,182.10,180.35,180.35]},{ x:'05/06/2024',y:[183.60,185.00,183.40,183.40]},{ x:'05/07/2024',y:[183.60,184.15,183.60,184.10]},{ x:'05/08/2024',y:[184.00,185.35,184.00,185.35]},{ x:'05/09/2024',y:[0.00,0.00,0.00,0.00]},{ x:'05/10/2024',y:[0.00,0.00,0.00,0.00]},{ x:'05/13/2024',y:[189.25,189.25,188.00,188.00]},{ x:'05/14/2024',y:[189.60,190.40,189.45,190.40]},{ x:'05/15/2024',y:[194.85,196.95,194.50,194.50]},{ x:'05/16/2024',y:[199.55,199.70,196.35,196.35]},{ x:'05/17/2024',y:[197.25,197.25,196.35,196.35]},{ x:'05/20/2024',y:[197.60,197.60,193.30,196.20]},{ x:'05/21/2024',y:[195.90,195.90,193.85,195.30]},{ x:'05/22/2024',y:[198.50,201.70,198.50,201.15]},{ x:'05/23/2024',y:[201.15,202.25,199.85,201.75]},{ x:'05/24/2024',y:[200.05,201.75,200.05,201.25]},{ x:'06/11/2024',y:[206.20,207.85,205.50,205.50]},{ x:'06/12/2024',y:[208.00,209.50,208.00,209.20]},{ x:'06/13/2024',y:[215.00,215.80,213.00,213.90]},{ x:'06/14/2024',y:[216.80,217.80,216.80,217.80]},{ x:'06/17/2024',y:[218.25,218.25,217.80,217.80]},{ x:'06/18/2024',y:[221.95,223.30,221.95,223.30]},{ x:'06/19/2024',y:[229.00,233.20,229.00,232.50]},{ x:'06/20/2024',y:[234.50,237.00,234.50,237.00]},{ x:'06/21/2024',y:[233.95,234.60,233.75,234.60]},{ x:'06/24/2024',y:[224.85,224.85,224.40,224.40]},{ x:'06/25/2024',y:[220.00,225.25,219.60,225.25]},{ x:'06/26/2024',y:[227.70,229.00,227.05,227.05]},{ x:'06/27/2024',y:[225.30,225.95,225.30,225.95]},{ x:'06/28/2024',y:[230.00,231.80,230.00,231.80]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00663l 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());