When I Create a Sum chart with date histogram and Split Series by Significant Terms (where should be no specific order), I get the series sorted anyway independently of the value of the SUM calculation.
I am not 100% sure I correctly understand your question here? When using Significant Terms as a split, it will sort the series by "their significance". This is something that doesn't necessarily make much sense in a splitted xyaxis chart, and I am not sure if Significant Terms is the right split you want. It looks to me like you'd more likely just want a "Terms" split.
The fact is, that "Terms" was the first approach. And there's an "Order by" setting that sorts the drawing regarding its value, and event with "Metric: ..." value I'm experiencing the same. That's why I gave a try to "Significant Terms", because I though that wouldn't do the order thing, and just draw the SUM intervals where they should be by it's op result, and not having higher values below lower values like you can clearly see on the images
yes the stacking order is always the first sorted series on the bottom and the rest on top. You cannot change that in Kibana.
A small side-node from data visualization aspects: You're currently using a stacked line chart, which we usually would not recommend doing (and thus also not allow it in our newer visualization editor Lens). I'd recommend if you want to use line visualizations to disable the stacking under the "Metrics & axes" tab, switch the "Mode" to "normal" instead of "stacked":
Since the area under the line is not filled, using "stacked" mode can be really confusing for the viewers of your visualization, why we'd in general recommend using area charts if you want to have it stacked, or using normal mode if you want to use a line chart.
the "normal" mode should actually be the default for line chart I guess what happened here is that this chart was initially created as a bar chart (where "stacked" is the default) and then switched over to be a line chart. We're still considering removing stacked line charts completely (so you could not even get in that situation anymore when switching the type) also outside of Lens, since - as you can tell - it's mostly just confusing and not providing any benefit
I think that specifically I mistook Area plot with the Line one on a quick click when creating. I just checked and Stacked is the default option as well
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.