Thanks Ely. How would you suggest handling the dynamic data providers
on the chart side? Would I have to use a repeater for the charts?
Also, is this approach better than just making separate web service
calls for the charts?

Thanks.

--- In [email protected], "Ely Greenfield" <[EMAIL PROTECTED]>
wrote:
>
>
>
> I think you'll probably have to do this from actionscript, by
> pre-processing the array into separate dataProviders.
>
>
> Var separateDPs:Object = {};
> For(var i:int=0;i<data.length;i++)
> {
>       var record:Object = data[i];
>       var id:Number = record.id;
>       var dp:Array = separateDPs[id];
>       if(dp == null)
>       {
>             dp = separateDPs[id] = new Array();
>       }
>       separateDPs.push(record);
> }
>
> Ely.
>
>
> -----Original Message-----
> From: [email protected]
[mailto:[EMAIL PROTECTED] On
> Behalf Of parksch2
> Sent: Friday, May 12, 2006 8:36 AM
> To: [email protected]
> Subject: [flexcoders] BarChart
>
> Hello,
>
> I'm looking for suggestions on the best way to take an array and
> separate it out into several bar charts. I currently have an array
of
> data that also includes a chart number (1, 2, 3, etc.) and I would
like
> to use that number to dynamically determine the chart that the data
> belongs to on the screen. Can I use a repeater with the bar chart
and
> extract the appropriate information from the array on the fly?
>
> Any help or suggestions would be greatly appreciated.
>
> Thanks in advance.
>
>
>
>
>
> ------------------------ Yahoo! Groups Sponsor --------------------
~-->
> You can search right from your browser? It's easy and it's free. 
See
> how.
> http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
> --------------------------------------------------------------------
~->
>
> --
> 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




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to