Sub-bucket terms agg isn't ordered correctly in series chart legend #35485
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Visualizations
Generic visualization features (in case no more specific feature label is available)
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Kibana version: 6.7, master, (assuming 7.x as well but haven't tested)
Elasticsearch version: 6.7, master, (assuming 7.x as well but haven't tested)
Describe the bug:
When using a terms agg as a sub-bucket the legend does not always respect the ordering in the agg config. I suspect this depends on the order of the sub-buckets returned in the ES response. Example:
The text was updated successfully, but these errors were encountered: