Vizlib Home Try Vizlib

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?

  • Hi Eva

    My apologies in the delay in getting back to you on this.  We've raised this as a ticket (18785) and the team will respond shortly.  Again my sincerest apologies for the delay in responding.

    Thanks and KInd Regards


Login to post a comment