Ah, yeah, actually I know why it's not working.  My head is pretty rusty on the Flex 1.5 code ;)
 
 
In Flex 1.5, series are _not_ visual objects. Instead, they manage visual objects. As such, they don't have a _visible property themselves.  I don't have the code in front of me, but this:
 
 
series[i].peer._visible = true/false;
 
might work.  If that, I'll have to go dig up the code to answer you. 
 
Either way, be aware that what you're trying to do is definintely _not_ supported in F1.5 and the same code won't work when you eventually move to F2.
 
Ely.
 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shemeshkale
Sent: Saturday, September 02, 2006 11:47 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: how to show/hide a line in a chart

Ely,
that would be the greatest solution - but unfortunately its NOT working.
any idea why? (again: i m with flex 1.5)

--- In [EMAIL PROTECTED]ups.com, "Ely Greenfield" <[EMAIL PROTECTED].> wrote:
>
>
>
> You can get at the nth lineSeries as:
>
>
> myChart.series[i]._visible = true/false;
>
> Ely.

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to