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

How to handle floating intervals in histogram's auto interval #78032

Closed
timroes opened this issue Sep 21, 2020 · 1 comment · Fixed by #77995
Closed

How to handle floating intervals in histogram's auto interval #78032

timroes opened this issue Sep 21, 2020 · 1 comment · Fixed by #77995
Labels
Feature:Aggregations Aggregation infrastructure (AggConfig, esaggs, ...) Feature:Visualizations Generic visualization features (in case no more specific feature label is available) Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@timroes
Copy link
Contributor

timroes commented Sep 21, 2020

In #77023 (comment) @alexwizp brought up some issue with the auto interval in Kibana, that it will even for integer like fields return sub-1 float intervals. We should try to improve that situation and make the algorithm smarter. After discussing with @flash1293 we think the most reasonable solution right now would be:

Check on the esTypes of the field that is used, and only if at least one type exists and ALL of them are of an integer type (byte, long, etc), use only integer intervals, otherwise allow float intervals as implemented right now.

@timroes timroes added Feature:Aggregations Aggregation infrastructure (AggConfig, esaggs, ...) Feature:Visualizations Generic visualization features (in case no more specific feature label is available) Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Sep 21, 2020
@elasticmachine
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Aggregations Aggregation infrastructure (AggConfig, esaggs, ...) Feature:Visualizations Generic visualization features (in case no more specific feature label is available) Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants