Grafana export image (direct link rendered image)

Hi,

I did a grafana dashboard, i can export it and display it through http url like this:

http://@IP:3000/render/d-solo/xxxxx/?orgid=1&refresh=5s&from= …&to=…

Now i want to display from the last 7days to now, i did that

http://@IP:3000/render/d-solo/xxxxx/?orgid=1&refresh=5s&from=now-7d&to=now

the problem is that it displays the same graph without talking in account that i want from the last 7days

do you know why ?
thx