Skip to content

Conversation

@sverhoeven
Copy link
Collaborator

@sverhoeven sverhoeven commented Apr 8, 2025

Fixes #111

TODO

  • checkboxes
    • timeseries
    • vertical profiles
    • skewt
  • swap colors checkbox, checked should be white and unchecked should be black
  • hover on line should highlight legend and vice versa

@Peter9192
Copy link
Member

  • swap colors checkbox, checked should be white and unchecked should be black

Might be even nicer if checkbox color was consistent with legend item color

Also, would be nice if the whole legend items worked as toggle, not just the checkbox itself.

@Peter9192
Copy link
Member

Fixed line wrapping in legend + colors + label clicking. Tailwind checkbox with label click didn't work, so now using regular checkbox. Tailwind didn't like dynamic value of width, so setting style explictly.

image

@Peter9192
Copy link
Member

  • hover on line should highlight legend and vice versa

Don't think that's necessary with current layout.

@Peter9192 Peter9192 marked this pull request as ready for review April 10, 2025 13:38
@Peter9192 Peter9192 merged commit 080f6d1 into main Apr 10, 2025
4 checks passed
@Peter9192 Peter9192 deleted the legend-checkbox-111 branch April 10, 2025 13:39
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.

Toggle graphs by legend item

3 participants