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] Thresholds: first automatic static value should be the 75% of the overall data bounds #112797

Closed
Tracked by #57706
dej611 opened this issue Sep 22, 2021 · 2 comments · Fixed by #113647
Closed
Tracked by #57706
Assignees
Labels
enhancement New value added to drive a business result Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@dej611
Copy link
Contributor

dej611 commented Sep 22, 2021

Describe the feature:

Compute the default static value from all the dimensions for the first available axis rather than just one dimension, in order to show it at 75% of the current chart workspace.

@dej611 dej611 added enhancement New value added to drive a business result Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens labels Sep 22, 2021
@elasticmachine
Copy link
Contributor

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

@dej611
Copy link
Contributor Author

dej611 commented Sep 29, 2021

@MichaelMarcialis I've done a first attempt at this, but there is probably some more in depth investigation to do.

The overall data bounds is known only by the visualization at the very end of it: this is computed based on a composition of chart attributes.
Because in Lens the XY visualization can be composed by multiple layers and chart types, the user may end up in a scenario where there are mixed stacked, unstacked and percentage charts in the same visualization.

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
2 participants