these are style properties of the Series so try "setStyle" like so .
var s:LineSeries = new LineSeries();
s.setStyle("legendMarkerRenderer", new ClassFactory(CircleItemRenderer));
- superabe
On Nov 7, 2007 8:46 PM, cuddlygunchi <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
> Hello,
>
> In MXML I can set the legendMarkerRenderer and showDataEffect for
> LineSeries.
>
> But I am creating my series in ActionScript and these properties are
> invalid for a series object created in AS.
>
> Could anyone please show me how to specify these properties for a
> LineSeries object created in AS.
>
> MXML:
> <mx:LineSeries showDataEffect="..." legendMarkerRenderer="..."/>
>
> AS:
> var ls:LineSeries = new LineSeries();
> ls.? = ?
>
> Many Thanks,
> Aman
>
> --- In [email protected], "cuddlygunchi" <[EMAIL PROTECTED]>
> wrote:
> >
> > Hello,
> >
> > I have a LineChart and I would like to use the SeriesSlide effect.
> >
> > If I create my LineSeries in mxml, I can specify the showDataEffect
> and
> > hideDataEffect for this.
> > <mx:LineSeries showDataEffect=.../>
> >
> > However, I create my series dynamically in ActionScript and cannot
> find
> > the equivalent syntax:
> >
> > var ls:LineSeries = new LineSeries();
> > ls.showDataEffect =... //invalid
> >
> > How can I specify the effect for the LineSeries in AS?
> >
> > Many Thanks,
> > Aman
> >
>
>