x-axis order not preserved in split series vislib charts #31534
Labels
Feature:Vislib
Vislib chart implementation
Feature:XYAxis
XY-Axis charts (bar, area, line)
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Currently the x-axis sort order is not always respected when working with vislib charts that have a split series.
To Reproduce:
kibana_sample_data_logs
today
extension.keyword
, order: alphabetical ascending, size: 5machine.os.keyword
, order: count descending, size: 3This is due to the way the point series agg response handler generates series data, only filling in series values as it encounters them bucket-by-bucket. By the time the series data makes it to vislib, the original sort order from ES & the tabified data is lost.
This was discovered as a part of the investigation into #17532.
The text was updated successfully, but these errors were encountered: