hi,
I'd like to use JFreeChart to display histograms. Histograms differ from vertical bar charts in 3 simple ways:
1. bars are the same color
2. no gap between bars
3. horizontal axis is a value axis, not a category axis.
1 is straightforward, but it seems that to accomplish 2 and 3 I need to write a new histogram class that's a cross between verticalBarPlot and XYPlot that draws bars on two value axes.
Has anybody done this before, or is anybody working on this?
Thanks,
matt
histograms
RE: histograms
Hi Matt,
The VerticalXYBarPlot class draws a bar plot using a numerical x-axis. I think you should be able to use this for histograms. It uses the IntervalXYDataset interface for data...
Regards,
DG.
The VerticalXYBarPlot class draws a bar plot using a numerical x-axis. I think you should be able to use this for histograms. It uses the IntervalXYDataset interface for data...
Regards,
DG.