| Charts and Graphs |
| Written by Datagod | |||||||||
| Saturday, 21 April 2007 | |||||||||
![]() I spent the past two weeks tinkering with PHP/SWF Charts which allows you to build some very impressive graphs, charts, etc. I followed the examples given on the website and in no time at all I was retrieving data from mysql and charting it. At first I found the examples on the website helpful, but they really were not flexible enough for my needs. I want the chart configuration to be data driven and not have to rely on hard coded values. For example, I created a report that shows the traffic history for a domain over the last 24 hours. The domain name is dynamic, as well as the date range. I can change the 24 hours to 12 hours with an input parameter. The chart object gets all the data it needs from the MySQL result set, not from hard coded values. The result was that in under 30 minutes I was able to put together a basic dashboard that consists of 3 graphic charts and one tabular report. Now I can spend some time on the prettiness factor. Hits: 2849 Comments (2)
![]()
Snooky
said:
|
|||||||||
| Hey man, what chart software do you use? I was looking at tinystats. Very nifty. | |
|
report abuse
vote down
vote up
|
| Hi, can you tell me how connect PHP/SWF Charts with mysql database and form three charts make one chart like result - sum of three chart? can you send me code for this or some link? | |
|
report abuse
vote down
vote up
|