PHP Chart Library Solution [closed]
Good day.
I am a newbie to PHP framework, and I know a little about CI. Recently, i plan to start my new practice project with Kohana. I am looking for a good PHP Chart Solution.
Requirement: Free chart library is better; Integrated with Kohana well.
Could you give me suggestion about it.
Thank you for your reply here.
open flash charts is one (http://teethgrinder.co.uk/open-flash-chart/)
xml/swf charts (http://www.maani.us/xml_charts/) and amcharts (amcharts.com) both have free versions.
Adding EZ Graph to the list
I would vote for phpChart. Very easy to use. It's PHP based, the rendering occurs on the client side with rich charting feature support such as pie, 3d, bubble etc.
Meet Flot.
Not really PHP solution because it's javascript. But people have been using it as front-end with PHP as the back-end for so long.
My own Kohana module that uses Flot: http://www.nusantarasoftware.com/hitlogger
http://pchart.sourceforge.net/
Free charting library
Unfortunately it is not integrated with Kohala
http://sparkline.org/
It is worth digging through the excellent collection here (Flash, JS, PHP, etc.):
http://www.webappers.com/category/components/charts/
Being a mootooler I always prefer Mootools Javascript charts:
- http://blog.greghoustondesign.com/canvas-pie-chart-with-tooltips/
- http://highcharts.com/
- http://moochart.coneri.se/
- http://www.copix.org/index.php/wiki/Mootools/Charts/en
I have used PHPlot with good results.
I'm not aware of a Kohana integration, but I just made a very simple charts controller to generate the charts and that works well.
There's a Kohana Charts module based on Google Charts:
https://github.com/ae0000/kohana-charts
It's not strictly PHP, since it uses flot to render the graphs on the client side, but I recently developed a small graphing library for fetching database data, process it with PHP and create Google Analytics style interactive graphs from it.
It's basically a complete server/client solution to turning your database tables into graphs, and should be easy to integrate with Kohana (I've used it a lot with the Zend Framework).
精彩评论