Chamawix commented on issue #20756:
URL: https://github.com/apache/superset/issues/20756#issuecomment-1204153924

   > Hello contributors C: is it currently possible to send an HTTP request to 
trigger the behavior that the "Download As Image" button has below? And if that 
feature is not currently available, could we possibly add that?
   > 
   > ![Screenshot 
(40)_LI](https://user-images.githubusercontent.com/58401948/179618749-4772b754-eaae-45c5-a900-e589f75588f5.jpg)
   > 
   > I've successfully downloaded chart screenshots using the [Superset 
API](https://superset.apache.org/docs/api/). However, for my use case, I would 
prefer to keep the layout of the dashboard in the exported image. I've also 
successfully downloaded dashboard thumbnails using the API (and setting up 
Celery/Redis) but the resolution on these images isn't great and it appears to 
cut off the bottom of the dashboard (unless I set it up wrong; feel free to let 
me know).
   > 
   > 
![dashboard_9](https://user-images.githubusercontent.com/58401948/179621857-eccc0f57-f656-4b34-a77e-ea2c537f4b72.png)
   > 
   > On the other hand, the "Download As Image" button does exactly what I 
need! It seems to adapt to the length of the dashboard and the resolution is 
good. I can't seem to find a link to it anywhere though; I've even tried 
monitoring the traffic between my server and client but I still haven't found a 
way to trigger that button with a URL or a raw HTTP request C: Thank you guys 
so much for your help and time!
   
   Is it possible for you to share your configuration for setting up the cache 
and make the thumbnails and charts configuration works properly ? 
   I am struggling at this, and the documentation is not quite clear about how 
to do it. 
   
   I have the same UC of extracting the dashboard into an image, so if you are 
not satisfied with your solution, I'll end up creating specific tasks to take 
those screenshots too ...  Thanks for your input ! 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to