I have used the jpgraph package and prototype to create a page with auto-refreshing graphs that keep updated values from an SQL database. Dojox looks really convincing so I want to give it a try. Can someone please point me out in the right direction of creating a chart, linking it up to a database and then refreshing it?

Examples
Check out the examples in dojox/charting/tests/. I also have a blog post with a simple charting example.
HTH,
Rob :)