> I'm currently evaluating the Flex tool based on the project > needs. I know that we can generate charts on Flex using a > static xml, but have anyone tried generating the same > dynamically from a .cfc query results. If so, please respond > and give me some tips.
Charts are simply renderings of a data model that is provided in a data provider - this is covered very extensively in the charting documentation. There is also a good number of examples of how to populate data models/data providers using server-side Java (you can expose a CFC as a Java class), or from Web Service Calls (you can expose a CFC as a Web Service) or from HTTPService calls. Again, there are lots of examples in the docs. Plug the 2 bits of thinking together, and yes, you can populate charts from dynamic server-generated data; that's really the entire point. Have you checked out Christophe's Chart Explorer at: http://coenraets.com/viewarticle.jsp?articleId=91 There are lots of examples in there as to how to fetch data into data providers. And in the book, "Developing Rich Clients with Macromedia Flex" we show in the final sample application, the population of charts using J2EE and MySQL. So .... yes it can be done. Steven -- Steven Webster Technical Director iteration::two This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately. Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.7.4 - Release Date: 18/03/2005 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/

