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

Histogram Bars - add Sort, Highlight to Filter #489

Open
alexsb opened this issue Nov 5, 2021 · 3 comments
Open

Histogram Bars - add Sort, Highlight to Filter #489

alexsb opened this issue Nov 5, 2021 · 3 comments
Labels
type: feature New feature or request

Comments

@alexsb
Copy link
Contributor

alexsb commented Nov 5, 2021

Right now, clicking a histogram bar in the header of a categorical column filters out that category. While this is generally useful behavior, I wonder whether this should be the only behavior we support.

In particular, I'd expect a common use-case to be that I want to hover over a category and then "see all elements" of that category. I can't really do that easily at the moment. I could sort and scroll, or I could filter out all other elements.

Similarly, we want to be able to highlight elements of a certain category, as described in #488.

I'm suggesting that we provide a menu when you click the bar, that offers three options:

  • Bring elements in C to the top; Label: "Show all C items"
  • Filter elements in C; Label: "Filter C items"
  • Highlight elements in C; Label: "Highlight C items"
@alexsb
Copy link
Contributor Author

alexsb commented Nov 16, 2021

Think about context menus and defaults.

@thinkh thinkh added the type: feature New feature or request label Nov 18, 2021
@sgratzl
Copy link
Member

sgratzl commented Nov 19, 2021

Bring elements in C to the top; Label: "Show all C items"
how does that influence the rank sorting? what if there are grouping criteria applied (e.g. by a different category)? what if it is the grouping criteria?

@alexsb
Copy link
Contributor Author

alexsb commented Nov 22, 2021

Re Sorting: sorting by category (possibly implemented as by selection) would be the top-ranked sorting criterion.

Re Grouping: trickier, but I think grouping would remain, but within groups, it would be sorted by category

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants