Yeah, it´s a good link. I will use it now, for the next issues that I have to solve (legend ones).
Thanks. 2008/9/8 Amy <[EMAIL PROTECTED]>: > --- In flexcoders@yahoogroups.com, "Fernando Ghisi" > <[EMAIL PROTECTED]> wrote: >> >> 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? > > Did you look at the link I posted? I believe it showed you how to > get at the LegendData for each series, which should know this. > > HTH; > > Amy > > -- Fernando Benedet Ghisi