codeant-ai-for-open-source[bot] commented on PR #38677:
URL: https://github.com/apache/superset/pull/38677#issuecomment-4067461846
## **Sequence Diagram**
This PR adds PDF as a first class chart export format in dashboard and
explore actions, and introduces a new PDF NEW report format for chart
schedules. The new scheduled format generates the attachment from chart data
instead of screenshot based rendering.
```mermaid
sequenceDiagram
participant User
participant Frontend
participant Backend
participant PDFBuilder
participant ReportScheduler
participant EmailService
User->>Frontend: Click Export to PDF
Frontend->>Backend: Request chart export as pdf
Backend->>PDFBuilder: Build PDF from chart data rows
Backend-->>Frontend: Return downloadable PDF file
User->>Frontend: Select PDF NEW for chart report
Frontend->>ReportScheduler: Save schedule with PDF NEW format
ReportScheduler->>Backend: Fetch chart data export as pdf
Backend->>PDFBuilder: Build PDF from chart data rows
ReportScheduler->>EmailService: Send email with PDF attachment
```
---
*Generated by [CodeAnt AI](https://codeant.ai)*
--
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]