Hi, Folks:
I am using Flex Line Chart to represent some dynamically changed
information.Since the dataprovider for the LineChart changes from time to
time and are not always with the same structures ,  i  need to create and
update LineSeries at runtime.  After datasource updating, i need to analyze
the new datasource and create new LineSeries for the chart. But i found that
the LineSeries created before  will never be disposed. After running for a
long time , it will cause serious  usability issue and lead to some error.

Below is an simple  example representing what i said above.Could someone
take a look at this and help me on how to dispose the unused LineSerie? Any
feedback is of great help.
To reproduce the issue :
1>Open the file in  Flex Builder or Eclipse with Flex Builder Plugin.
2>User Flex Profiler to check the app's memory usage
3>Click the "Show Amount" Button, num of "LineSeries" instance increases and
the old series will never be disposed.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Attachment: LineChart.mxml
Description: Binary data

Reply via email to