mennymendoza opened a new issue, #20756:
URL: https://github.com/apache/superset/issues/20756

   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!


-- 
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