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?
Good graphing engines
Moderator: General Moderators
Re: Good graphing engines
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.
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.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.