-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Sort sub-aggregation axis by term not working #10648
Comments
OK testing out on different data this issue only occurs when the top level aggregation buckets return partial results. So for instance in the first screenshot On indices where all days have some value for each hour the ordering works as expected. This affects the vertical bar chart as well as the heatmap. |
Just to clarify this isn't limited to the heatmap visualisation, partial buckets also have this effect on other charts. |
@spalger we discussed this at Elasticon |
Screenshot to follow
|
any update on this? |
I'm using Elasticsearch and Kibana v6.4.2 and this still happens. |
Pinging @elastic/datavis (Feature:ElasticCharts) |
Blocked on #86184 |
Kibana version: 5.2.2
Elasticsearch version: 5.2.2
Browser version: Chrome, latest
Browser OS version: MacOS
Original install method (e.g. download page, yum, from source, etc.): download
Description of the problem including expected versus actual behavior: When ordering by terms the sub-bucket order isn't respected. I'm seeing the issue in both the heatmap and bar chart.
Steps to reproduce:
Provide logs and/or server output (if relevant):
dayOfWeek sorted correctly, sub-aggregation hourOfDay incorrectly ordered:
hourOfDay sorted correctly, sub-aggregation dayOfWeek incorrectly ordered:
The text was updated successfully, but these errors were encountered: