Vizlib Home

Colour area between two lines with two colours


I'd like to color the area between two lines with two different colors depending on which line is above the other one.

I managed to only color the "in between" part by making it a stacked area chart and using "line 2 - line 1" as expression for the second line. But when I use the the expression "if line 1 > line 2, red, green" it colors the area based on the overall result not per dimension value.

Is this possible?

Login to post a comment