Color Line Graph Visualization based on Threshold Value

Hello there,

Does anyone know if it is possible to have coloring rules for a Line Chart that will color the line as red, yellow, or green depending on if you pass a certain threshold value? 

Currently, the issue I'm facing is that the color for the entire line will change to one color depending on which condition is satisified first. But I want to have the line be able to coloring certain segements depending on whether or not the line crosses a particular value. (i.e if one part of the line goes beyond the red threshold, that segement of the line will be red. If another segement of the line is within the green threshold value, that segment of the line will be green)

Would appreciate your help!

Login