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

   ### Bug description
   
   ### Steps to reproduce:
   1. Create a chart using the ag-grid-table chart (Table V2)
   2. Add the chart to a dashboard
   3. Try download -> export to pdf or download as image
   
   Exporting to PDF causes a silent failure and downloading as image creates an 
excessively large image, as seen on the screenshot below.
   I've tried different databases and many ways to try and solve it but it 
keeps failing. I have created another plugin-chart using the AG grid library 
and the same error happens.
   I couldn't find any other issue with this kind of problem so i'm asking if 
somebody had the same issue or knows how to solve it, or if it is an AG grid 
library problem which can't be solved.
   
   ### Screenshots/recordings
   
   The dashboard looks like this:
   
   <img width="1884" height="836" alt="Image" 
src="https://github.com/user-attachments/assets/dfd25d87-c6ed-47a1-a1c8-1de41f8ce153";
 />
   
   
   Downloading the dashboard as an image creates this:
   
   
![Image](https://github.com/user-attachments/assets/98a46d65-32e3-4775-bbdc-fb983f3a78e8)
   
   Something similar happens when adding more charts to the dashboard:
   
   
![Image](https://github.com/user-attachments/assets/b225c697-641d-40b9-b4a6-db94b4e93db6)
   
   ### Superset version
   
   5.0.0
   
   ### Python version
   
   I don't know
   
   ### Node version
   
   18 or greater
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   I´ve tried adjusting the size usind div, containers, autoHeight and more 
things. Searching on the AG grid library doc i found about [lazy height 
calculation](https://www.ag-grid.com/react-data-grid/row-height/#lazy-height-calculation)
 and how it affects the DOM size.
   
   ### Checklist
   
   - [ ] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [x] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [ ] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


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