66 line series with 218 plot points each for a total of 14388 plot points, if 
we're looking for specifics. It's a lot of data that doesn't look particularly 
good because of the sheer volume, but it's what they want.

I'm using a line chart. Using AMF3 to retrieve the data. The time it takes to 
query the data, or transmit the data, isn't an issue. Also, the problem doesn't 
happen over time, it could be the first request someone makes on the 
application - I don't believe it's a memory leak.

The method used to populate the graph is thus:

var ls:LineSeries = new LineSeries();
ls.dataProvider = data[o];
   ls.yField = "counter";
   ls.xField = "dtime";
   ls.displayName = o.valueOf();
   if ( circleplots.selected ) {
        ls.setStyle('itemRenderer', new ClassFactory(CircleItemRenderer));
   }
  var currentSeries:Array = linechart1.series;
currentSeries.push(ls);
linechart1.series = currentSeries;

Storing the data in an internal array, and possibly sending it to the clip 
board isn't a big issue. It's trying to display that much data within a flex 
construct that causes the problem(s).

Jacob

--- In [email protected], Richard Rodseth <rrods...@...> wrote:
>
> How many items are you (and the Excel user) talking about?
> What sort of Flex charts are you using?
> Are you using AMF, XML or JSON to retrieve the data?
> 
> On Wed, Apr 14, 2010 at 3:48 PM, trefalgar <trefal...@...> wrote:
> 
> >
> >
> > The majority of my flex work revolves around graphing data. If for some
> > reason a user picks a lot of statistics to graph, over an even longer period
> > of time, the amount of data that comes back to the Flash application
> > overwhelms flash, consuming all of the boxes resources and regularly
> > crashing the browser.
> >
> > Is there anything in the developers bag of tricks to help with this kind of
> > problem, or is the sheer amount of data too much for the
> > application/SDK/solution to handle?
> >
> > I understand I can put a limit on the amount of data returned, but as the
> > user states, "I can pull it out of the database, via Excel, and it works".
> >
> > Tref
> >
> >  
> >
>


Reply via email to