EnxDev opened a new pull request, #38673: URL: https://github.com/apache/superset/pull/38673
<!--- Please write the PR title following the conventions at https://www.conventionalcommits.org/en/v1.0.0/ Example: fix(dashboard): load charts correctly --> ### SUMMARY <!--- Describe the change below, including rationale and design decisions --> When timeseries charts are rendered at small heights common in dense dashboard layouts with matrix/grid arrangements — the y-axis labels, ticks, and legends compete for the limited vertical space, often overlapping each other and making the chart unreadable. ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF <!--- Skip this if not applicable --> - Before <img width="1193" height="1089" alt="before1" src="https://github.com/user-attachments/assets/af871f7b-0514-4704-a54c-e35e13393294" /> - After <img width="1483" height="1166" alt="after1" src="https://github.com/user-attachments/assets/c431be3a-0c77-408f-b8c5-34cb9d927c27" /> - Before <img width="1201" height="1047" alt="before2" src="https://github.com/user-attachments/assets/7d06f45b-f345-4480-b822-b8a6923750c7" /> - After <img width="1705" height="1253" alt="after2" src="https://github.com/user-attachments/assets/67aa69e5-e4f0-44a6-b48f-064c7180da1d" /> - Before <img width="1205" height="1092" alt="before3" src="https://github.com/user-attachments/assets/214a4145-150c-4f95-bf81-d686cc69e995" /> - After <img width="1708" height="1253" alt="after3" src="https://github.com/user-attachments/assets/79d2c866-c28b-47c7-96fc-0d2249d36c5c" /> ### TESTING INSTRUCTIONS <!--- Required! What steps can be taken to manually verify the changes? --> 1. Create a line-chart 2. Resize a Row height to various heights: - Above 100px: should see full axis with proportional tick count - Between 60–99px: should see only min/max labels, no ticks/gridlines/legend - Below 60px: should see line only, no axis decorations at all 3. Verify no label overlapping or clipping at any size ### ADDITIONAL INFORMATION <!--- Check any relevant boxes with "x" --> <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue --> - [ ] Has associated issue: - [ ] Required feature flags: - [ ] Changes UI - [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351)) - [ ] Migration is atomic, supports rollback & is backwards-compatible - [ ] Confirm DB migration upgrade and downgrade tested - [ ] Runtime estimates and downtime expectations provided - [ ] Introduces new feature or API - [ ] Removes existing feature or API -- 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]
