Hi,
is there a way to have the bar chart automatically arrange the bars in order, from smallest to largest?
in the picture, i'd like to have all the reds on the left, then the blue and on the right the green.
thanks,
Ofer
Hi,
is there a way to have the bar chart automatically arrange the bars in order, from smallest to largest?
in the picture, i'd like to have all the reds on the left, then the blue and on the right the green.
thanks,
Ofer
What aggregation are you using to create the buckets for the bar chart?
Hi,
All of them are sum aggregation.
But which aggregation are you using on the x-axis. Terms?
None actually.
This is exactly how i want the data to be presented for my use case.
Why does it matter?
It matters because different aggregations have different options for sorting. You must be using some bucketing aggregation, otherwise there would be only one bar.
One of these?
no, none:
Ah I see, you're using the grouped bar mode. In that case the answer is no, you can't affect sort order beyond manually rearranging them in the sidebar.
That might make a nice enhancement request on Github though https://github.com/elastic/kibana/issues
Thanks Matt,
I'll add that request.
Ofer
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.