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:'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]},{ x:'07/01/2024',y:[231.80,231.80,229.95,229.95]},{ x:'07/02/2024',y:[229.05,229.05,226.30,226.30]},{ x:'07/03/2024',y:[230.15,233.10,230.10,233.00]},{ x:'07/04/2024',y:[240.05,241.20,240.00,240.80]},{ x:'07/05/2024',y:[241.10,241.45,241.10,241.25]},{ x:'07/12/2024',y:[249.35,250.55,245.90,245.90]},{ x:'07/15/2024',y:[249.15,249.15,245.40,246.40]},{ x:'07/16/2024',y:[248.00,253.40,247.40,249.20]},{ x:'07/17/2024',y:[247.40,248.50,244.00,244.00]},{ x:'07/18/2024',y:[234.80,237.25,233.20,235.55]},{ x:'07/19/2024',y:[231.50,231.50,227.40,228.05]},{ x:'07/22/2024',y:[224.55,225.00,214.55,216.60]},{ x:'07/23/2024',y:[222.10,225.95,222.10,225.95]},{ x:'07/26/2024',y:[209.85,211.70,209.00,211.25]},{ x:'07/29/2024',y:[217.75,217.75,213.45,213.45]},{ x:'07/30/2024',y:[208.35,214.90,206.60,214.20]},{ x:'07/31/2024',y:[211.75,215.00,211.75,214.30]},{ x:'08/01/2024',y:[222.20,222.20,220.80,221.55]},{ x:'08/02/2024',y:[208.60,210.50,201.75,201.75]},{ x:'08/05/2024',y:[178.05,178.05,161.40,161.40]},{ x:'08/06/2024',y:[180.85,184.60,164.80,178.70]},{ x:'08/07/2024',y:[181.30,191.90,180.00,190.15]},{ x:'08/08/2024',y:[183.60,187.15,180.00,183.20]},{ x:'08/09/2024',y:[192.40,196.30,190.15,193.40]},{ x:'08/12/2024',y:[198.25,201.00,197.75,198.75]},{ x:'08/13/2024',y:[201.00,201.00,198.40,200.00]} ] }], 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());