Open ghost opened 3 years ago
The sort bug on sub-aggregations affects not only the heatmap, but also other visualisations. Since years, there are several reports of this bug on Kibana :
And Elastic plans to fix it mainly in its own Lens : elastic/kibana#86184
However, this bug has been fixed recently on the Kibana's heatmap (8.1) with a new implementation from elastic-charts : elastic/kibana#118338
As a workaround, try setting the 'extend bounds' values for the Y to encompassing values. Not perfect, for me it sorted it upside-down, but at least it's readable now.
Describe the bug
The Y-axis of a heatmap visualization does not sort correctly when using (at least) a Histogram or Date Histogram aggregation for that axis.
To Reproduce Steps to reproduce the behavior:
Expected behavior Y-axis buckets should be sorted
OpenSearch Version "OpenSearch 1.0" (via AWS OpenSearch)
Dashboards Version OpenSearch 1.0
Plugins
N/A
Screenshots
Host/Environment (please complete the following information):
Additional context
HeatMap is the closest thing OpenSearch / Kibana offers to a scatterplot, and has historically worked ok for this use case. However this bug severely limits eliminates heatmap's usefulness for visualizing two dimensional data.