I have a RoundLine meter which I wish to change color based on the value of a number pulled from the webparser plugin.
What I have is:
Code: Select all
IfCondition=(MeasureReviews >= 0) && (MeasureReviews <= 150)
IfTrueAction=[!SetOption MeterRoundlineIndicator LineColor Floor((#RIndicator2# - #RIndicator1#)*(MeasureReviews / 150)),...truancated]
The formula I know works since I've tested it in a calc (which I also unsuccessfully tried to use to change the color).
Reason why it's in an ifcondition is that between 0 and 150 I want it to go from green to orange, then between 151 and 299 it goes from orange to red. Anything above 300 hundred activates a config which has a flashing animation.
I know for sure the condition is met and the action is done. If I replace the formula with numbers then everything works great. As it is, I get no change.
Anyone know?