Well when I said do your own bars, I meant create your own graph in which you draw bars. For example, I have a graph where I need to draw lines that are always cover 90% of the vertical space of the graph (5% space on either end). This class is derived from
PointsGraphBase, and I override OnRenderCore(). In OnRenderCore() I clear the canvas and then create the lines (which would be rectangles, in your case). Here's the snippet of code where I am determining the xy coordinates for the top and bottom of the line.
CoordinateTransform transform = GetTransform();
double x = convertToDouble(time);
double y = .05;
Point point = new Point(x, y);
Point screenPoint = point.DataToScreen(transform);
line.X1 = screenPoint.X;
line.Y1 = screenPoint.Y;
point.Y = .95;
screenPoint = point.DataToScreen(transform);
line.X2 = screenPoint.X;
line.Y2 = screenPoint.Y;
My horizontal axis is a date/time axis. I took an existing derived class as my model for this, but I don't remember which one.
This is kind of low level work to do a bar chart, I admit. It would be better to get the example working. It can be a little frustrating working with D3, it's very powerful, but there's little documentation or guidance. Sometimes when Mike makes changes
to the library, he doesn't update the samples right away, and they are broken.
There's a better chance Mike will answer your question if you post it on http://d3future.codeplex.com/.