SOS

Shane O’Sullivan’s technical blog… really ties the room together

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

4 Responses to “Dojo Charting example to show website statistics”

  1. Dave b Says:

    Hey Shane,
    Just came across this in the dojo forums….looks cool in hte snap preview but ur servers down :( Ill check back later

  2. Shane O'Sullivan Says:

    Yeah, sorry about that. The site admins have been doing some upgrading on the web server recently and it’s been up and down. Hopefully it’ll stabilise soon - it’s up right now!! :-)

  3. Gaurav Jain Says:

    Hi Shane,
    I visited your site and have a great experience. I want to know some thing about the implementation of Dojo javascript toolkit. can you please help me ?
    Thanks in advance….
    Gaurav

  4. Shane O'Sullivan Says:

    Hi Gaurav,
    If you have a specific question about how I have implemented the Charting example, I will be glad to answer it. If you have other questions, you should direct them to the Dojo help forums (http://dojotoolkit.org/forum) - I monitor them, and if I know the answer I will reply, as will others of the thousands of people who participate in the forums.
    Please be very specific when describing your issues. Providing detailed example code for the problem you are having also helps solve it more quickly.
    Thanks
    Shane

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>