Charts 4 PHP - Blog & Updates

HTML5 powered PHP Charts for Web and Mobile devices

Charts 4 PHP v1.2.1 Released!

Greetings everyone! We’re back with more updates! Charts 4 PHP v1.2.1 has been released with more exciting goodies: Our Charts 4 PHP Framework now supports Funnel Charts. Several other database integrated samples have been added to Demo Center. Check out our Gallery Page to see all available charts from our Framework. Updated Documentation can be found here. To download latest version, please visit our download...

Charts 4 PHP v1.2.0 Released!

Hello, After having one delicious #PiDay, we’re back with Charts 4 PHP Framework new release with more exciting features. Our framework now supports Bar Stacked Charts and Charts Exporting feature. Bar Stacked Charts You can design both type of bar stacked charts i.e. horizontal and vertical charts. See it in Action Export Charts Feature You can export charts either to JPEG or PDF format. See it in Action What’s next? Get Free Version and experience our new features See our Pricing Page for commercial...

Database Integration

Greetings everyone! As promised, new exciting features are bundled in this release! Now you can integrate database with your charts using simple sql query. Read more to learn about basic steps to integrate database below. First Step is to set database configuration in config.php. To connect to MySqli: define(“CHARTPHP_DBTYPE”,”mysqli”); define(“CHARTPHP_DBHOST”,”localhost”); define(“CHARTPHP_DBUSER”,”user”); define(“CHARTPHP_DBPASS”,”pass”); define(“CHARTPHP_DBNAME”,”northwind”); To connect using PDO: define(“CHARTPHP_DBTYPE”,”pdo”); define(“CHARTPHP_DBHOST”,”sqlite:../../sampledb/Northwind.db”); define(“CHARTPHP_DBUSER”,””); define(“CHARTPHP_DBPASS”,””); define(“CHARTPHP_DBNAME”,””); Next is to include configuration file in your code. include(“../../config.php”); Final Step is to define data_sql property, that will load data points from database. $p->data_sql = “select c.categoryname, sum(a.quantity) as Sales from products b, `order details` a, categories c where a.productid = b.productid and c.categoryid = b.categoryid group by c.categoryid order by c.categoryid” And the result … Resources Live demo Source Code You can check this demo in archive...

Charts 4 PHP v1.1.0 Released!

Charts 4 PHP v1.1.0 has been released with following features: PDO Database Library is now supported that enables database integration with following: MySQL MS SQL Server Oracle PostgreSQL SQLite ODBC and DB2 Firebird You can now populate chart data points by directly providing sql query. You can also define custom colors set for your charts. Updated Documentation can be found here. To download latest version, please visit our download...

Social Network Pages added!

Greetings everyone! Now you can catch our product updates on your favorite social portals! Please follow us on your favorite social network using links in footer....

Charts Gallery added !

Hello Everyone! Now you can explore the variety of charts offered in Charts 4 PHP Framework in our gallery section.

Website Launched !

Hello, Finally, our website with Charts 4 PHP v1.0 is launched. It’s currently in beta and available for non-commercial and evaluation purpose. Stay tuned for more updates.