This article will show how to create a mySQL driven bar chart using Charts 4 PHP Framework. Step 1: Configure Database connectivity in config.php define("CHARTPHP_DBTYPE","pdo"); define("CHARTPHP_DBHOST","mysql:host=localhost;dbname=testdb");...
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...
Hello everyone! We’re back again with new updates! Charts 4 PHP v2.0 has been released with more exciting features. Create stunning and informative charts & dashboards using our new charting library (based on D3.js). New fresh design with completely...
This article will show how to create a dashboard using Charts 4 PHP Framework with or without database (mySQL, Oracle, PDO etc.) at back end. I. Creating first chart in Dashboard Step 1: Configure Database connectivity in config.php define("CHARTPHP_DBTYPE","pdo");...
This article will show how to create a simple funnel chart using Charts 4 PHP Framework. Step 1: Include Charts 4 PHP Library include("../../lib/inc/chartphp_dist.php"); $p = new chartphp(); Step 2: Configure Data array along with Intervals array $p->data =...