Picture Element with more colors?

Picture Element with more colors?

Hi,
I'm using some graphical elements like line, circle, polygon, and I want to color them differently according to the different variables; so what I mean is, something like this:
Variable.run =1 -> polygon should be green
Variable.error=1 -> polygon should be red
Variable.manual=1 ->polygon should be yellow
but in the property section "Colors" I can only set one variable for the dynamic filling color?
Is there any possible way to do it like I want it?
Thanks, Regards,
Jenny

This is a migrated post! Originally posted on 10.02.2014 by user jenny. Please be aware that information can be outdated.