Welcome Guest, Not a member yet? Register   Sign In
Drawing graphs and diagrams...
#1

[eluser]sapid_guy[/eluser]
Hai everybody..
its been a while i have not been hear...

I have a small project for a subject...

Im doing a evaluation survey using PHP.. (of course CI is in)

After collecting the answers from the users i have to generate graphs and Charts from the DB..

So i would like few suggestions regarding generating graphs and charts using CI.

Any Suggestions are appreciated..

Thanks
#2

[eluser]Narkboy[/eluser]
Not checked it out myself, but I've been keeping an eye on JpGraph - it looks like it might solve some issues I will have with an upcoming project.

Easiest way to integrate with CI, I presume, will be to drop it into a custom library and call functions as normal.

If you don't need that much in the way of features, it might be quicker to write your own lib assuming you have an understanding (and access to) PHPs GD library.

GL!
#3

[eluser]danmontgomery[/eluser]
I'd also propose using flot, which is written for jQuery. I've used jpGraph in the past (it was a few years ago), and it was pretty impressive. jpGraph uses PHP's GD library, while flot uses the HTML canvas element, which can allow for interactive graphs.




Theme © iAndrew 2016 - Forum software by © MyBB