Hi Hiram, If you read carefully the documentation from here: http://webfx.eae.net/dhtml/chart/usage.html it is realy easy. You just have to create the strings with data in the necessary way like this one:
[ 5, 10, 20, 10, 40, 52, 68, 70, 70, 60] where this numbers represent the values on the chart using PHP programing. it's easy. You make a query to get data from the MySQL server, than you put data into a string like the one above. Than to be able to run this string will be fitted into a javascript explained into documentation. This is the way I did it but not sure if it is the easiest way or the best. I just know it works. I had some knowledge of PHP and mysql that's why I chose so. Make some tests and than if you have more questions please ask! Cheers, George ________________________________ From: jhcp <[email protected]> To: iPhoneWebDev <[email protected]> Sent: Wed, April 21, 2010 5:23:20 PM Subject: Re: About iPhone chart application Thanks all for your reply. George, I'd like to keep the data confidential. The information is on sql server so, I suppose that I have to code any webservice to expose it but I don't know how the data format must be. I really appreciate your support. Remi, thanks for your suggestion, I'll review both of them. On Apr 21, 1:28 am, Remi Grumeau <[email protected]> wrote: > Arf, i've mistaken, Google Charts use PHP so your datas are actually sent to > Google … but Google Visualization is in plain Javascript so normally it's a > client-side API that do not send any datas to > Google.http://code.google.com/apis/visualization/documentation/using_overvie... > > Charts or Visualization: two different > storieshttp://code.google.com/apis/charttools/docs/choosing.html > > Remi > > Le 20 avr. 2010 à 22:07, George Bontas a écrit : > > > > > > > Hi, > > > For charting I have made some several tests. I have used iUI for > > developement and here are the tips: > > > 1. You can use google charts that Remi provided you the link. The issue > > here is that your data are send to google to create the chart and maybe you > > want data to be confidential. > > 2. You can use flor. It's pretty cool and free. But here I had an issue > > because the data was in an mysql server and I downloaded data in php create > > the javascript with the necesary data and ar runtime I got an error that I > > could not escape. > > 3. The solution washttp://webfx.eae.net/dhtml/chart/chart.html. It's also > > free and easy but not so complex. now depends of what you need. > > > If you need more help I can provide you but I need details like: where is > > your data set on and if you need php to get it. Believe me if webapp is > > complex is better php because is executet on the webserver not on the > > iPhone, so the software can be faster. > > > Cheers, > > George > > > On 20 April 2010 19:37, jhcp <[email protected]> wrote: > > Hi all, > > I'm newbie in iPhone development and I wonder how could I build an > > application which shows some charts based on data saved in a > > database. > > I really don't know how to get data from server, how use any chart > > framework in order to show data graphically and which could be the > > best way to develop this application. > > I hope anyone could show me the way to do that. Thanks to forum > > members for your support. > > > -- > > You received this message because you are subscribed to the Google Groups > > "iPhoneWebDev" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/iphonewebdev?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "iPhoneWebDev" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/iphonewebdev?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "iPhoneWebDev" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/iphonewebdev?hl=en.- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en. -- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.
