Adding label for different parts of timelion

I am using .min method in kibana timelion. My string is something like this:
.es().bars(stack=false).color(#F44336), .min(.es(), 25).bars(stack=false).color(#8BC34A)
This is taken from https://www.elastic.co/blog/timelion-tutorial-from-zero-to-hero

Now, I am able to create this graph but unable to label the 2 parts correctly.

Also, if I use .label('my label') it only works for the green part, not the red part.
I want to label both of them individually.

I have not experimented much with labels in Timelion, but I can cross link to a post which explains generation of Timelion labels dynamically .. hope this helps,

Cheers
Rashmi

Thank you!!
That is useful, but not in my case. I ended up creating the same graph with a different approach. I used .if() clauses for creating graphs.

Am glad your solution worked for your case. Thanks for sharing.

Rashmi