Just put an id to each linechart you have than
at the <mx:Script>
you could also do that.
public function mouseEvent(event):Void{
// add the event here
}
LinecharId._visible = false;
or
lineCharId2._visible = true;
Just that
Adding a button with a click event using the function for that.
On 8/27/06, shemeshkale
<[EMAIL PROTECTED]> wrote:
hello, working with flex 1.5!
i have a simple line chart with 3 LineSeries.
how do i show hide an individual line??
i can manipulate the DataProvider with removeItemAt and addItemAt and
it works.. BUT!!..
in this way when my lines are visually formatted the formatting
disapear and the new line added looks like the default line - i dont
want that.
this is me LineSeries:
<mx:LineSeries yField="Profit" form="segment" name="Profit">
<mx:stroke>
<mx:Stroke weight="20" color="#ff0000" alpha="100" />
</mx:stroke>
</mx:LineSeries>
how do i show/hide a line and preserve its original design?
--
----------------------------
Igor Costa
www.igorcosta.com __._,_.___
--
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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___
- [flexcoders] how to show/hide a line in a chart shemeshkale
- Re: [flexcoders] how to show/hide a line in a chart Igor Costa
- [flexcoders] Re: how to show/hide a line in a char... shemeshkale
- [flexcoders] Re: how to show/hide a line in a ... shemeshkale
- RE: [flexcoders] Re: how to show/hide a li... Ely Greenfield
- [flexcoders] Re: how to show/hide a l... shemeshkale
- RE: [flexcoders] Re: how to show/... Ely Greenfield
- [flexcoders] Re: how to show/... shemeshkale
- RE: [flexcoders] Re: how to s... Ely Greenfield
- [flexcoders] Re: how to show/hide a line i... Doug Lowder
Reply via email to

