Skip to content

fix: hide range tabs and TopN from PNG export - #1674

Merged
Flotapponnier merged 3 commits into
devfrom
fix/chart-export-clean
Jul 29, 2026
Merged

fix: hide range tabs and TopN from PNG export#1674
Flotapponnier merged 3 commits into
devfrom
fix/chart-export-clean

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

The exported PNG included all interactive controls (1H/6H/24H range tabs, SHOW TOP5/10/20/ALL, title row). Added data-chart-export-omit to both rows so the export captures only the SVG chart + legend.

- Limit inline labels to top 10 non-excluded lines (legend shows all)
- Collision deflection: sort labels by Y, push each down until clear of previous
- Increase padR 96→130 so label text never gets clipped by SVG viewport
@Flotapponnier
Flotapponnier merged commit c422065 into dev Jul 29, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant