Login Register

charting dojox.gfx

Can a Chart2D have a "hole" of data?

Hi all!

We would like to use dojox.chart for graphing our monitoring graph, and I'm currently analyzing how we could use it.

Basically, I would like to know if we can have some "hole" of data within a single series in a Chart2D graph.
"hole" mean: no data, so the line can be broken at some point, and continue later on.

ex: 1, 1.5, 2.2, 12.4, -1, -1, -1, 2.3, 5.9, -1, -1, -1, 7.2

Using current chart implementation, all '-1' data won't be graphed, BUT there will be a vertical line between 12.4 and 0, then between 0 and 2.3, and again between 5.9 and 0, and 0 to 7.2.

Using more than one plot type in the same chart

I've managed to impress m customer by using Dojo 1.1 charting with splines and everything. I must admit I'm impressed myself. This is really great stuff. Also, the tests are surprisingly simple to read as well.

Anyway, now my customer want to have a combined chart with both lines and columns at the same time. Is this possible?
You can add several plots to the same chart, when you have grids in the background for example.

I had hoped to be able to name plots and the choose to which plot I add a series of data, but this functionality doesn't seem there (yet). Or is it possible?

2D charting with tooltip on label

I would like to add tooltip on the labels of x-axis and y-axis for chart2D graphic. Could you let me know if there is a way to do it? Thanks!

Also can we incorporate some text into the 2D charting graph? Such as adding the lengend at the top of the graph.

Thanks!

I am using dojo1.0.2.

Wendy

Charting: What am I missing?

I am just trying to start using charting. I simply have this on my page:

<script type="text/javascript" src="http://o.aolcdn.com/dojo/1.0.2/dojo/dojo.xd.js"></script>
<script type="text/javascript">
dojo.require("dojox.charting.Chart2D");
</script>

I get this as an error:

dojox.gfx has no properties
uncaught exception: Could not load cross-domain resources: dojox.gfx
Syndicate content