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/10/2024',y:[205.55,206.60,205.00,205.65]},{ x:'04/11/2024',y:[203.40,204.10,202.05,203.80]},{ x:'04/12/2024',y:[203.30,204.95,202.75,204.05]},{ x:'04/15/2024',y:[200.65,200.90,198.10,199.15]},{ x:'04/16/2024',y:[194.75,194.75,185.20,187.50]},{ x:'04/17/2024',y:[189.55,192.75,189.00,192.10]},{ x:'04/18/2024',y:[189.35,194.50,188.80,194.35]},{ x:'04/19/2024',y:[186.55,186.60,174.35,179.00]},{ x:'04/22/2024',y:[179.00,181.60,177.50,178.45]},{ x:'04/23/2024',y:[182.55,182.95,179.60,181.70]},{ x:'04/24/2024',y:[186.90,191.40,186.85,190.95]},{ x:'04/25/2024',y:[186.55,187.25,184.60,185.00]},{ x:'04/26/2024',y:[190.10,192.45,189.20,190.60]},{ x:'04/29/2024',y:[195.15,197.95,194.60,197.50]},{ x:'04/30/2024',y:[197.40,198.30,196.35,196.35]},{ x:'05/02/2024',y:[193.40,194.50,192.00,193.10]},{ x:'05/03/2024',y:[197.75,198.20,193.15,194.00]},{ x:'05/06/2024',y:[199.30,200.80,198.10,198.85]},{ x:'05/07/2024',y:[201.60,201.60,197.65,200.05]},{ x:'05/08/2024',y:[199.50,201.35,198.50,201.20]},{ x:'05/09/2024',y:[200.70,201.95,199.55,199.55]},{ x:'05/10/2024',y:[201.35,203.35,199.35,202.65]},{ x:'05/13/2024',y:[205.85,206.00,203.70,204.30]},{ x:'05/14/2024',y:[204.85,207.05,204.30,207.05]},{ x:'05/15/2024',y:[210.00,214.35,209.90,211.40]},{ x:'05/16/2024',y:[216.30,217.90,213.30,214.15]},{ x:'05/17/2024',y:[214.15,214.75,212.60,213.35]},{ x:'05/20/2024',y:[214.65,214.70,209.80,213.25]},{ x:'05/21/2024',y:[212.40,213.50,210.10,212.45]},{ x:'05/22/2024',y:[214.20,219.10,214.00,218.70]},{ x:'05/23/2024',y:[219.00,220.15,216.75,219.55]},{ x:'05/24/2024',y:[216.00,219.30,216.00,218.95]},{ x:'06/11/2024',y:[224.60,226.10,222.70,223.05]},{ x:'06/12/2024',y:[223.85,228.45,223.30,228.10]},{ x:'06/13/2024',y:[234.00,236.90,231.25,234.20]},{ x:'06/14/2024',y:[233.60,237.20,232.80,237.10]},{ x:'06/17/2024',y:[236.55,238.50,236.00,237.10]},{ x:'06/18/2024',y:[241.95,244.30,241.50,244.15]},{ x:'06/19/2024',y:[249.00,254.95,248.70,253.95]},{ x:'06/20/2024',y:[253.95,259.15,253.85,259.15]},{ x:'06/21/2024',y:[253.05,257.50,253.05,256.05]},{ x:'06/24/2024',y:[251.20,251.25,245.00,245.00]},{ x:'06/25/2024',y:[243.10,246.20,238.20,245.45]},{ x:'06/26/2024',y:[248.30,250.95,245.75,248.30]},{ x:'06/27/2024',y:[243.20,247.20,243.00,246.75]},{ x:'06/28/2024',y:[247.70,253.65,246.70,250.80]},{ x:'07/01/2024',y:[251.70,254.50,249.85,250.80]},{ x:'07/02/2024',y:[248.75,250.65,245.15,247.10]},{ x:'07/03/2024',y:[252.60,254.25,250.40,253.90]},{ x:'07/04/2024',y:[261.10,264.70,261.10,264.70]},{ x:'07/05/2024',y:[265.15,265.90,263.00,263.20]},{ x:'07/12/2024',y:[271.60,274.00,268.50,269.50]},{ x:'07/15/2024',y:[273.50,273.50,268.00,269.50]},{ x:'07/16/2024',y:[271.00,277.00,270.30,272.00]},{ x:'07/17/2024',y:[270.40,272.15,267.60,268.30]},{ x:'07/18/2024',y:[257.70,259.95,254.50,259.15]},{ x:'07/19/2024',y:[254.50,255.00,247.95,248.25]},{ x:'07/22/2024',y:[246.05,246.15,234.00,236.75]},{ x:'07/23/2024',y:[243.05,247.40,242.15,247.40]},{ x:'07/26/2024',y:[229.40,232.95,226.70,231.65]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00631l 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());