[flexcoders] building a dataprovider in Java

2009-04-15 Thread netdeep
I posted a few weeks back about how to create a chart dataprovider in Java to pass to Flex and the response I got back was to use Maps. I got sidetracked with other aspects of the code and now that I'm trying to code it, I am really drawing a blank. How would you create the following dataprov

Re: [flexcoders] building a dataprovider in Java

2009-04-15 Thread Pedro Sena
In my opinion, You should use a List of some object defined by you. Then you create a correspondent object in ActionScript , put it in ArrayCollection and use its attributes in your chart as you wish. If you want to build something more generic I believe that you will have more trouble, but if y

Re: [flexcoders] building a dataprovider in Java

2009-04-15 Thread Maciek Sakrejda
column name, row value) -- list.add(row) and then return the list to Flex. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: netdeep Reply-to: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] building a dataprovider in Java Da