It is very common in the process of building custom web application that we need to produce some sort of visual reports. Those reports have to quickly display tabluar data in human more readable format – graphs. Although there is a way to create them yourself in PHP using some image functions, you’ll have to spend a lot of time to make the chart look superb. This is where Open Flash Chart project jumps in.
When the web page is loaded including SWF file, Open Flash Chart requests the graph data from the file on the server and displays it.
How to set up it?
You will need to include the Open Flash Chart in your HTML, and you also need to give him data file. It needs to be either a text file, or a .php page. Good thing about PHP page is that it can be automatically created with real data from the database. For the start you would need to create data.txt file on your site and point the Open Flash Chart to this URL.
But what we really want is dynamic data that is pulled from a database or calculated or something. To do this you need to create the data file when it is requested. To do this we point the Open Flash Chart to a .php page and this PHP page does your calculations and/or database lookups, then outputs the data file.
To make this a bit easier there are PHP, Perl, Python and Java classes to write the data file for you.
Read more info on official website: http://teethgrinder.co.uk/open-flash-chart/