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] Extended bounds for number histogram #129308

Closed
Tracked by #57708
flash1293 opened this issue Apr 4, 2022 · 3 comments · Fixed by #134020
Closed
Tracked by #57708

[Lens] Extended bounds for number histogram #129308

flash1293 opened this issue Apr 4, 2022 · 3 comments · Fixed by #134020
Labels
enhancement New value added to drive a business result Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@flash1293
Copy link
Contributor

It should be possible to explicitly specify the bounds for the number histogram to stabilize a histogram visualization on a visualization with known data bounds (e.g. memory used) similar to how Visualize is supporting it.

@flash1293 flash1293 added enhancement New value added to drive a business result Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens labels Apr 4, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors)

@dej611
Copy link
Contributor

dej611 commented May 25, 2022

Did some investigation with #132619 and found some issues with ES and Elastic charts to fully enable this feature:

Bucket dimension Breakdown dimension Group by Breakdown first EsAggs option to enable Elastic chart
Interval (w/o extended bounds) -- NA -- --
Top Values Interval with extended bounds false -- --
Top Values Interval with extended bounds true partialRows: true Special handling for partial rows
Interval (w/o extended bounds) Interval with extended bounds false -- --
Interval (w/o extended bounds) Interval with extended bounds true -- --
Interval (w/o extended bounds) Top values false -- --
Interval (w/o extended bounds) Top values true partialRows: true Special handling for partial rows
Filters Interval with extended bounds false -- --
Filters Interval with extended bounds true -- --
Date histogram Interval with extended bounds false -- --
Date histogram Interval with extended bounds true -- --

On the Elastic Charts side, I've talked offline with @markov00 and after few experiments I've found handling the special case on the formatter side to be the easiest way.

Will update the linked PR shortly.

@flash1293
Copy link
Contributor Author

Wow, thanks for covering all the cases @dej611 ! These are the things that make a difference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
3 participants