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

Add a 'limit' option to barchart #75

Open
hjkmarshall opened this issue Jul 10, 2024 · 0 comments
Open

Add a 'limit' option to barchart #75

hjkmarshall opened this issue Jul 10, 2024 · 0 comments

Comments

@hjkmarshall
Copy link
Contributor

hjkmarshall commented Jul 10, 2024

Description

  • Add an input option to the barchart.
  • This enables users to choose to show the top (or bottom) items.
  • For example, you have a barchart showing count of users by country and you only want to show the top 5 countries (and not the remaining 100+).

Acceptance criteria

  1. The user needs to be able to select the 'top' vs 'bottom' items. When loading the data, it must sort it based on this.
  2. The user must be able to add a limit (i.e. an INT). When loading the data, it must apply this limit.
  3. If these fields are not filled in, it should still work.
  4. The should still be able to sort the data to choose whether the bars appear on the chart in asc vs desc order.
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

No branches or pull requests

1 participant