Sorting stacked lines

I am trying to set up a timelion chart to display latency and I have latency of 2 types: queued and executed - to be stacked up to show total latency. My script has:
.es(q="type.keyword:Queued or Executed").lines(width=3, fill=5, stack=True)
However, no matter what order I use in a query, Executed shown on the bottom and Queued goes on top of it, while I want it the opposite way. Is there a way to set up an order for charts, sort them (a simple sting sorting desc would work in my case)?

Timelion does not provide any way to sort. Please track the feature request at

Have you tried using TSVB to create your visualization? TSVB provides the ability to sort.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.