Is it possible?  Yes.

Will it have reasonable performance? Probably not, but it's a really
easy test to find out.

Charts probably will not perform well under this load, but I'm not sure
you'll even get that far. First you have to send 200k floats over the
wire, and deserialize them in the player, which has its own performance
problems.

So, I'd say, write a quick test and see how it feels. But in general,
I'd agree with Roger, you're better off aggregating your data in some
way and displaying that. If that's not an option, then you might want to
seek out other alternatives.

(btw, if you want to use flex, one reasonable alternative would be to
use flex for the application, but generate the chart on the server using
one of the many server side chart generation packages out there that
render to bitmaps, and just displaying the bitmap in the flex app).

Ely.
 

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Roger Gonzalez
Sent: Tuesday, April 11, 2006 9:21 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex1.5: Limit of series a graph component can
have

There are no hardcoded limits that I know of, it all comes down to
performance - CPU and memory.

I'd still like to see an instance of what this sort of graph would look
like.  Unless you're doing a scatterplot (and given the amount of data
you're talking about, perhaps even in that case), its sounding like
you're significantly oversampling screen resolution, which doesn't make
sense from a graph design perspective.  You're not going to be able to
read any information out of the plot, it will just look like mud.  On a
1000x1000 pixel graph with zero overlap and one pixel per datapoint,
you're covering 10% of the available surface area with 100k samples.  Of
course, you're not actually going to use one pixel per datapoint (as
that totally hides extrema), so you're probably getting up into the 50%
of the available surface area painted in at this point.  There's no
information there.  Mud.

Have you read Edward Tufte's books?

I think your best approach (never mind Flex, just in general) is to
separate the plotted data from the actual data.  Reduce the actual data
to a representation that can be plotted and interpreted by humans - bars
with high/low extrema, click to zoom, etc.  It isn't a failing of Flex
that 100,000 datapoints can't reasonably be plotted on a normal chart,
its a failing of all normal chart types.  You need to come up with a
better representation.

I could be totally off-base and misinterpreting your needs, though.

-rg 

> -----Original Message-----
> From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On Behalf Of RAMOS CARDONA JESUS 
> SALVADOR
> Sent: Tuesday, April 11, 2006 8:22 AM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Flex1.5: Limit of series a graph component 
> can have
> 
> I don't think they would want to resample or view chunks of data as a 
> graph detail. This is more a political question. If it can be done, 
> then my managers will trust Flex implicitly.
> Otherwise, they will force us to use some other product, or even 
> switch to .NET. This financial application is being built for our 
> federal government, and so there's a lot of red-tape going on in this 
> project.
>  
> So I ask again...can it be done?
>  
> Thanks in advance.
>  
> J.
>  
> -----Mensaje original-----
> De: Roger Gonzalez [mailto:[EMAIL PROTECTED] Enviado el: Lunes, 10 
> de Abril de 2006 08:35 p.m.
> Para: flexcoders@yahoogroups.com
> Asunto: RE: [flexcoders] Flex1.5: Limit of series a graph component 
> can have
>  
> That would be pretty impractical in Flex 1.5 without providing 
> truckloads of RAM.  I suspect you need to either do it on the server 
> as an image sent to the client, or else do it in Flex 2.
>  
> What kind of graph is this?  Do you really need 100k samples on screen

> simultaneously?  Can you do overview/detail?  Can you downsample and 
> then plot the downsampled data?
>  
> -rg
>        
>       
> ________________________________
> 
>       From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On Behalf Of RAMOS CARDONA JESUS 
> SALVADOR
>       Sent: Monday, April 10, 2006 6:12 PM
>       To: flexcoders@yahoogroups.com
>       Subject: [flexcoders] Flex1.5: Limit of series a graph component
can 
> have
>       Hi all.
>        
>       My manager has come to me with an unusual question: 'Is there a
limit 
> as to the number of series (or dots) a flex graph can have?' The need 
> arose because of a requirement of a financial application being built 
> on Flex, which needs to output dot graphs of at least 100,000 dots.
>        
>       Without considering the performance or overhead, is this
possible in 
> Flex?
>        
>       Thanks.
>        
>       J.
> 
> 
>       --
>       Flexcoders Mailing List
>       FAQ: 
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>       Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
>       
>       
>       
> ________________________________
> 
>       YAHOO! GROUPS LINKS
> 
>               
>       *        Visit your group "flexcoders 
> <http://groups.yahoo.com/group/flexcoders> " on the web.
>                 
>       *        To unsubscribe from this group, send an email to:
>                [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>
>                 
>       *        Your use of Yahoo! Groups is subject to the 
> Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . 
> 
> ________________________________
> 
> 


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



 




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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to