Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Statistics: Add a legend #6890

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

janezd
Copy link
Contributor

@janezd janezd commented Sep 13, 2024

Issue

Fixes #6730.

Description of changes

Adds a legend below the table.

Screenshot 2024-09-13 at 20 09 45

The legend is present only when showing the color attribute is categorical, not numeric.

The upper part scrolls; the legend stays in place. If the widget is to narrow, the legend wraps.

Screenshot 2024-09-13 at 20 09 53

#6730 proposed putting the legend next the to color combo. This would indeed make it more obvious what the legend refers to, but it wouldn't look bad, especially when wrapped (which would soon happen). Since these are the only colors in the table, the current position of the legend shouldn't be too confusing.

Includes
  • Code changes
  • Tests

@VesnaT VesnaT merged commit e045632 into biolab:master Sep 26, 2024
6 of 29 checks passed
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.

Feature Statistics: legend for "Color", and "Selected Feature Statistics" output with richer data
2 participants