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

[Lens] Change top values default from 3 to 5, with some exceptions #62386

Closed
wylieconlon opened this issue Apr 2, 2020 · 3 comments · Fixed by #64726
Closed

[Lens] Change top values default from 3 to 5, with some exceptions #62386

wylieconlon opened this issue Apr 2, 2020 · 3 comments · Fixed by #64726
Labels
Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@wylieconlon
Copy link
Contributor

As originally requested in #55477 by @AlonaNadler:

Can we have the size of the top value to be 5 by default for pie and donut?
Can we change the top 5 in all visualizations and keep the "breakdown by" to 3 by default?

In terms of easiest change to most complicated:

  • Easiest: Change to top 5 values as the default everywhere
  • Medium: Use the suggestion system to generate many similar queries, such as top 3 & top 5, and let the visualization decide
  • Hard: Give the visualization more control over how queries are built

I like the easiest approach not only because it's easy, but also because it creates consistency across all the different visualizations we support.

@wylieconlon wylieconlon added Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens labels Apr 2, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@wylieconlon
Copy link
Contributor Author

What we can do is:

  • Change to top 5 terms by default
  • For suggestions which use a date histogram + terms, use top 3 values instead of top 5 ("break down by")

@AlonaNadler
Copy link

I think the suggestion sounds good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants