@niketnilay thank you in advance for the code example.
But I think there is something wrong here: the color will NOT reload as the $tokThreshold$ changes. Based on my test on 7.0.2, I think the color could only be set once. I must reload the whole web page to make the color change. Can you verify that?
And, is there any xml settings I can force re-paint the color of the panel when $tokThreshold$ changes?
Also, in your screenshot, when the "Select Threshold" is 300, Attendees ("262", 247) should also be "#53A051"(green), not red.
I'm using both your example and a rather small set to test:
| makeresults count=10
| streamstats count as id
| fields - $tokThreshold$
... View more