FusionCharts PHP Class basically consists of 2 files : FusionCharts_Gen.php and FusionCharts.php. The primary requirement to use the class is to keep the 2 files in one folder. Thats all.
 
For convenient use of FusionCharts PHP class within your projects, we would recommend to follow the folder structure described below : (though this is not any hard and fast rule to follow)
  • Create a folder inside which you will keep all your charting projects.
  • Name this folder say, MyFCPHPClassCharts.
  • Inside MyFCPHPClassCharts folder, create two new folders.
  • Name those two folders as Class and FusionCharts.
  • Copy FusionCharts_Gen.php and FusionCharts.php file from Download Pack > Code > PHPClass > Includes and paste it inside Class folder.
  • Copy swf files and FusionCharts.js file from FusionCharts and JSClass folders, respectively of the Download Pack and paste it inside FusionCharts folder created by you just now.

And you are ready to unleash the power of FusionCharts with PHP! You can save your applications within different folders inside the root MyFCPHPClassCharts folder so as it builds up the following hierarchy.

 
 

You may go for any other folder structure you wish; just make sure to keep FusionCharts_Gen.php and FusionCharts.php in one folder. Let’s go ahead and create our first chart with FusionCharts PHP class.