The question here is not if charts uses styles for itemRenderers or
not - it´s fact, it really uses it.

It´s working like this: I created my CustomItemRenderer extending
BoxItemRenderer and I´m setting the series itemRenderers with setStyle
method, like this:

//For each columnSeries
series.setStyle("itemRenderer", new
ClassFactory(mx.charts.renderers.CustomtemRenderer));

See also: 
http://livedocs.adobe.com/flex/3/html/help.html?content=charts_formatting_12.html

It´s working, I repeat. But the question was how can I get a reference
for the series itemRenderes. On execution time, I have to modify an
attribute of the itemRenderes than, when the updateDisplayList is
executed again, the renderer will modify the draw made on each column
(based on the attribut setted).

If I use serie.getStyle("itemRenderer"), it will return the
ClassFActorty, not the itemRenderer.


So, any idea people?


-- 
Fernando Benedet Ghisi

Reply via email to