Or use Google Charts and generates graphics based in URL's...
http://code.google.com/apis/chart/

Examples:

pie chart
http://chart.apis.google.com/chart?cht=p3&chd=s:Uf9a&chs=250x100&chl=January|February|March|April<http://chart.apis.google.com/chart?cht=p3&chd=s:Uf9a&chs=250x100&chl=January%7CFebruary%7CMarch%7CApril>

line chart
http://chart.apis.google.com/chart?cht=lc&chs=200x125&chd=s:ATSTaVd21981uocA&chco=224499&chxt=x,y&chxl=0:|Sep|Oct|Nov|Dec|1:||50|100&chm=B,76A4FB,0,0,0<http://chart.apis.google.com/chart?cht=lc&chs=200x125&chd=s:ATSTaVd21981uocA&chco=224499&chxt=x,y&chxl=0:%7CSep%7COct%7CNov%7CDec%7C1:%7C%7C50%7C100&chm=B,76A4FB,0,0,0>

Cadu

2008/8/29 Ricardo Guimaraes <[EMAIL PROTECTED]>

>
> A great way to generate images on the server side is using php gd
> functions, they are relatively easy to manipulate and best of all, free:
>
> http://us3.php.net/manual/en/ref.image.php
>
>
> Best regards,
>
> Ricardo Guimaraes
> Avatar Interactive
> http://www.avatarinteractive.com
> [EMAIL PROTECTED]
>
>
>
> On Fri, Aug 29, 2008 at 5:57 PM, Jason Abate <[EMAIL PROTECTED]> wrote:
>
>>
>> If you're looking to generate JPG or PNG images on the server-side,
>> check out ChartDirector from http://www.advsofteng.com/.  You can
>> produce pretty impressive looking graphs, and they support a wide
>> range of languages.  This should be much easier to do than capturing
>> images from a Flash-based approach.
>>
>> -jason
>>
>>
>> On Aug 28, 6:33 am, jbishop <[EMAIL PROTECTED]> wrote:
>> > I have a desktop application that I want to port to the iPhone. There
>> > are two complexities. The iPhone app needs to sync to the desktop app
>> > and it needs to be able to display a line chart or a bar chart or
>> > preferably both.
>> >
>> > I'm trying to work through this second issue first. N.B. I don't code
>> > myself so excuse any ignorance; I wear all of the other hats.
>> >
>> > As there isn't a native charts library for the iPhone I have to find a
>> > different solution. Here are the ones that I've heard of so far:
>> >
>> > - Generate jpg images from a server using flash-based charting (I
>> > already use AnyChart flash for the desktop app)
>> > - In the same way use the Google Charts API, returning png images to
>> > the phone
>> > - Use the iPhone's native graphics library
>> > - Port chart libraries for Windows Mobile platform to iPhone.
>> >
>> > I expect the last option isn't very realistic or wise.
>> >
>> > I would appreciate any input on this issue.
>> >
>> > e.g. Are there options apart from the above? Are the time-lag and
>> > connection issues for a round trip to a server significant? Do any of
>> > the options stand-out as being extremely complex?
>> >
>> > Thanks.
>>
>>
>>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to