Page 1 of 1

Good graphing engines

Posted: Sat Apr 18, 2009 4:16 pm
by greennomad
Hi. I've looked around for a good graphing engine and haven't been found one that seems to be decent.

My needs:
- should be able to make simple line graphs, with either a number or time on the Y axis (for example, could graph "time left work" each day, or count number of pushups each day)
- should be able to update via Ajax
- should be able to be customizable so that a line would be drawn to indicate goals (if counting push ups each day with a running total, want to be able to show the goal of X pushups). Or draw a vertical line to show the upcoming deadline (if pushups need to be done by June 1)
- relatively pretty

Any recommendations?

Re: Good graphing engines

Posted: Mon Apr 20, 2009 10:23 am
by pickle
The two main PHP graphing libraries I know of are jpgraph and [urlhttp://pchart.sourceforge.net/]pchart[/url]. jpgraph is older & updated more regularly, but pchart is much prettier.

Neither of them have AJAX built-in, because that's entirely out of the scope of a graphing engine. Whether the chart updates or not, or how it's done is entirely up to you - the engine just builds the graphs.