flex3 - Getting fill color inside the itemrenderer in Adobe Flex -


I am writing a custom item renderer to present a column series in my application. Its a stacked chart and I want to use the same item renderer for both column series. The color is different for each series in the stack and it is being set in the property of 'fill' of the two series. I suspect that how can I get the color specified in the property of the column series from the item renderer if it works So, I can use the same renderer very well for both the series.

In advance, anoop

If your renderer component increases the container, then you Depending on the data, you can set the background color style.

Listen to data changes event to swap colors.


Comments