views:

10

answers:

1

I can't figure out what's wrong. Using the latest everything from dojotoolkit.org. My chart renders fine for a Marker or Line chart:

        this.chartVol.addPlot("default", {
            type: "MarkersOnly",
            lines: false,
            markers: false,
            gap: 1,
            hAxis: 'volX',
            vAxis: 'volY'
        });

but when I change to "Columns" I get nothing.

        this.chartVol.addPlot("default", {
            type: "Columns",
            lines: false,
            markers: false,
            gap: 1,
            hAxis: 'volX',
            vAxis: 'volY'

        });

I'm looking at this howto page, it's not clear what I'm doing wrong.

http://www.dojotoolkit.org/reference-guide/dojox/charting.html#dojox-charting

A: 
Eugene Lazutkin
I think I must be using an older version, because from your answer, I realize that I am using {x,y} points. which seem to work fine with Markers, but apparently not columns. I'm using 1.4.3 from the Google CDN
michael
Try the SVN checkout, or nightly, or wait for 1.5 to be released (really soon now). Columns (and related plots) understand {x, y} notation now, but ignores x using and index instead. See if it fits your data model.
Eugene Lazutkin