Generate dynamic graph from MySQL data

How do I create a graph based on data inside my database? For example, I want to display website traffic between a 90 day interval, and the graph will display this as a line graph. I don't like the PHP image and GD functions, they are really pixelated and are actually PHP pages playing like images. I'm not sure if this is how I've seen it on other websites, but I would love to have a sleek image.

+3


source to share


1 answer


A great question I made was to use: http://code.google.com/apis/chart/ There are many great charts, etc. in Google Chart that you can use. What I did was look at examples of how the data was formatted and then I wrote my query to match it.



+5


source







All Articles