Plot a line with different colours for evening than for morning

Hi All!

Would it be possible to plot a line, or two lines, which will change the color depending on the time of the day I am plotting. Like grey in the afternoon and red in the morning using Timelion ?

I'm doing something like this and I would like to have 1 colour for the morning (from 0am: 9 am) and another color for the rest of the day.

.es(timefield='@timestamp').label("Score").lines(fill=1,width=0.5).color(gray).yaxis(2, max=1,label="Score")

Thanks in advance!

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