Assuming chart is a ColumnChart, chart.series[0].items[0] will get you a rference to the first ColumnSeriesItem. Charts don't have itemRenderers and an itemRenderer is not a style.
-TH --- In flexcoders@yahoogroups.com, "Fernando Ghisi" <[EMAIL PROTECTED]> wrote: > > So, nobody can help me? > > > 2008/9/5 Fernando Ghisi [EMAIL PROTECTED]: > > How can I get a reference to a itemRenderer of a chart series? > > > > If I use getStyle method, I´ll get the reference of the ClassFactory > > > > Ex: Series(chart.series[index]).getStyle("itemRenderer") > > > > > > Looking for any property that I could use, I´ve found in the > > ColumnSeries a property called _instanceCache. I could get a > > reference of the objects created by the ClassFactory using > > "_instanceCache.instances", but this attribute is private. > > > > > > So, what should I do to get the reference of the itemRenderes of the series? > > > > > > -- > > Fernando Benedet Ghisi > > > > > > -- > Fernando Benedet Ghisi >