In the site I am developing we have made the design were depending of the result of some calculation (function) we will show one of three colors on the circle in the left of the result, as the image shows:
there are 3 cases:
if the result of the function is equal or greater then the goal, the circle must be green
if its less then the half of the goal or less, the circle must be red
else it must be yellow
(I tried using visibility change to different circles, but we can’t put functions in there, I wonder if there is other options)
pls help
You can use the component of the colored rectangle… each state you put the color code or you can make a hidden input that works there… then the visibility of the color circle is with the input… or the goal and that data come from the database? to see how to make the visibility
yes, the data and goal comes from a data base, thats the prob, if I use the colored circle based on the value in the data base it wouldn’t be 3 colors, it would be a lot more