views:

8

answers:

0

Hey,

I'm new to flex, and I'm working on a plotchart. Each point in the chart is an object with multiple variables. I wanted to know if I could take a numeric variable from this object, and use it to change the color of the plotted point.

In this case, the numeric value is a number between 0 and 100 that represents a percentage of life. So, I'm trying to come up with some form of gradient that goes from the colors green to yellow to red, which map to 100 to 50 to 0 for the numeric value of the object.

Thanks!