Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Graph generation on iPhone [closed]

Anyone have experience with drawing graphs on the iPhone? Looks like GraphKit isn't an option, so it's up to the programmer to either write his own library (using OpenGL, I guess), or an existing library. I can't seem to find any libraries that are confirmed to work on the iPhone.

If you've written your own how did you go about it (opengl, quartz, etc), or if you used a library which one?

like image 311
Parrots Avatar asked Apr 27 '09 17:04

Parrots


People also ask

Is there a graph app?

Canva. Canva is a popular app which lets users to create graphs or charts with tables, photos and graphics in minutes. All you have to do is enter your data to get instant results.

Can I draw graphs on iPad?

OmniGraphSketcher is an iPad app that makes it easy to create gorgeous and precise graphs with lines, curves, shaded regions, and more. Instead of using specific equations, like a graphing calculator, OmniGraphSketcher let's you use multitouch gestures to chart your points and draw cuves and bar graphs.


4 Answers

I have been keeping my eye on this one:

core-plot

but I haven't yet tried it. Though it seams like it has potential.

chris.

like image 140
PyjamaSam Avatar answered Sep 21 '22 13:09

PyjamaSam


Ive used coreplot...got an appstore app with it...not thrilled about its use. Its very customizable, maybe TOO customizable. It gave me quite a bit of trouble setting it up and i still have problems with is. Id like to know how Roambi.com does their porting from excel, it looks pretty good. MSOffice4mac should just come out with a direct port to iphone

like image 44
Mars Avatar answered Sep 24 '22 13:09

Mars


Have tried and used CorePlot, on my way to a app-store app. Was a pain setting it up and then digging in deep, certainly the best graphing option currently.

like image 35
dsaw Avatar answered Sep 25 '22 13:09

dsaw


I've done graphs in an application before using Quartz2D. Since the graph was particularly wide, I had to use a CATiledLayer for the view, which I think was what caused more issues than it fixed. The graph looked nice, but in the end, it was just too difficult to deal with. Too many bugs when trying to draw too much of the graph at once, or trying to draw the graph several times in a row quickly as the user changes between different views.

At this point, my suggestion would be to try something in OpenGL, though I don't know how you'd go about achieving it, since line drawing is pretty basic on the iPhone in OpenGL.

like image 36
Ed Marty Avatar answered Sep 21 '22 13:09

Ed Marty