I have one doubt,

chart_series.setStyle("itemRenderer", new
ClassFactory(mx.charts.renderers.CircleItemRenderer));

what exactly is chart_series?
Excuse me for my ignorance

Thanks

On Sep 25, 10:27 am, flexkwt <[EMAIL PROTECTED]> wrote:
> Thanks
>
> On Sep 25, 1:42 am, GnanaPrakasam T <[EMAIL PROTECTED]> wrote:
>
> > Yeah you can do this in Actionscript.
>
> > something like this
>
> > if(value==0)
>
> >   chart_series.setStyle("itemRenderer", new 
> > ClassFactory(mx.charts.renderers.CircleItemRenderer));
> > else    
>
> >   chart_series.setStyle("itemRenderer", new 
> > ClassFactory(mx.charts.renderers.TriangleItemRenderer));
>
> > Hope this will solve your problem...
>
> > Gnanaz.../
>
> > flexkwt wrote:
> > > Hi,
>
> > > Is it possible to have action scripts and <mx:> scripts inside if { }
> > > else { } condition?
> > > I was thinking that in the mxml, if value is 0 then show
> > > charts.renderers.CircleItemRenderer or else show
> > > charts.renderers.TriangleItemRenderer
>
> > > On Sep 24, 9:52 am, flexkwt <[EMAIL PROTECTED]> wrote:
>
> > >> Hello,
>
> > >> I have a plotSeries and I need to display charts.renderers based on
> > >> the value.
> > >> If it is 0 then display charts.renderers.CircleItemRenderer or else
> > >> display
> > >> charts.renderers.TriangleItemRenderer
>
> > >> How can I do achieve this?
>
> > >> Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to