Dojo Charting example to show website statistics
Posted by Shane O'Sullivan on 15 June, 2007
I’ve created an example usage of the Dojo Charting engine, which you can find at http://www.skynet.ie/~sos/pageStats.php. View the source to see how it works.
It’s a modified version of the unit test available with the Dojo toolkit, but used in a specific scenario - in this case, to graph the page impressions for my personal website . The JSON data on the page is dynamically generated by PHP, however all other processing is done in JavaScript.
You can filter the data to show info on any combination of pages, and also use a number of different chart types.
The code is well documented, so should be easy to follow.
Some other good examples of using the Dojo Charting engine can be found here and here.
Share this post:digg it|kick it|Email it|bookmark it|reddit|liveIt
Posted in Ajax, Dojo, Javascript, Technical, chart, charting, dojo.charting, json, open source, php | 4 Comments »