I need to draw a vertical bar chart. The chart will be like a waterfall chart but the bars will not be connected with each other. Suppose the first bar ends at 2 of Y-Axis and 1 of X-Axis then the second bar will start from 2 of Y-Axis and 2 of X-Axis.
Please let me know how to draw this kind of bar chart.
Waterfall like bar chart
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
I'm not completely sure what you are trying to draw, but there is a demo (XYBarChartDemo6.java) included with the JFreeChart Developer Guide that shows how the XYBarRenderer class can draw bars pretty much unconstrained based on data in an IntervalXYDataset.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


-
- Posts: 15
- Joined: Tue Feb 13, 2007 9:29 am