How to handle floating intervals in histogram's auto interval #78032
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
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 aninteger
type (byte
,long
, etc), use only integer intervals, otherwise allow float intervals as implemented right now.The text was updated successfully, but these errors were encountered: