user244111
user244111

Reputation:

Flex Charts -- How can I change the color of a chartItem on rollover?

Is there a way to set a rollover color for each series in a chart?

For instance, I have a column chart with two series: one series is set to blue and the second series is set to gold.

When the user mouses over the blue series, I would like the blue to turn to bright blue. And when the user mouses over the gold series, I would like the gold to turn to bright gold.

Also, is it possible to change the color of the chart item when a chart item is clicked?

Thanks,

Lacy

Upvotes: 0

Views: 1053

Answers (1)

Simon
Simon

Reputation: 80769

quietlyscheming has a lot of excellent examples. Basically you need to create your own itemRenderer for the series and trap the mouse moving over it and change states or colours at it does. This is a very well documented path.

Upvotes: 2

Related Questions