<p>The Dojo Toolkit keeps adding packages (thankfully they have package management too!). Today, “Greenplum and SitePenannounced the contribution of the new Charting engine to the Dojo Toolkit. Originally designed as the foundation for the Greenplum Monitor–a browser-based database monitoring application to be released later this year–the Charting engine is a cross-browser way of creating very complex charts easily, that can be updated on a regular basis.”

Features

A Chart can have multiple “PlotAreas” (the actual charts)

A PlotArea can contain multiple Plots (x/y axis + N data series)

Data series are bound at run-time to a dojo.collections.Store object, with flexible field bindings.

An Axis can have custom labeling schemes.

See below for plot types.

Each plotter can take a function at render, which will be called for every data point in that series–the node representing the point is passed, as well as the entire source object the point represents.

PlotAreas provide a facility for assigning colors to series (basically it has a built in HSV generator)

All browsers but WebKit are supported in full.

Rendering can be granular; right now the test only runs rendering once, but it was designed to all of constant rendering if needed.

A range of data points can be plotted (instead of the full data set) if so desired.

Trend methods are available for data analysis (but no specific plotters are built for it yet).

This is cool. Dojo is definitely a solidly engineered toolkit and it apparently keeps getting better.

I have personally “drank the Kool-aid” with Prototype.js, Scriptaculous, along with DWR. DWR and Prototype are able to work together (so we can have the functionality of both libraries), but to my understanding, Prototype and Dojo cannot (b/c Prototype extends the base Javascript object, and this conflicts with Dojo).

Are there any plans, or possibilities, to enable Dojo to work with Prototype? I would love to make use (and even transition to Dojo), but don’t want to ditch Prototype, as it has made me very productive.

Thanks for the awesome work and any info regarding this point. It would be great if the open source js/ajax toolkits could work together.

Mark: Dojo should work in the same page as Prototype. We work very hard to try to not blow up in the face of what others may be doing. Give it a try! I think you’ll be able to get the best of both worlds if that’s what you’re looking for.

This is really cool and really proved how Ajax application can be beautiful, practical, and easy to implement.
The charting engine used to be either done on the server side that creates images, or done with flash which neither of them really played wel…

Many thanks, Alex. I will definitely be giving it a spin soon. This is great news.

By the way, congrats on the JotSpot successes — well deserved and inspiring.

(as an aside, can you give me a prime reason to start writing Python code? I’m trying to understand what I can gain from having that in the toolbox… and ‘word on the street’ is that you have written a ton of Python code)

Nice… graphics are nice and smooth, server load should be low… now, if I could only copy and paste the chart into inkscape or OOo. I tried dragging it onto my gnome desktop and it created a text file with some numbers in it.

Oooh, bonus! just tried and (in FF2) print preview works exactly as expected.

The Dojo Toolkit keeps adding packages (thankfully they have package management too!). Today, “Greenplum and SitePen announced the contribution of the new Charting engine to the Dojo Toolkit. Originally designed as the foundation for the Greenplum Mon…