I have a x,y dataset of floats that spans the x-interval [0,1]. I need to render my data as bars. However, the bars are drawn with constant width and overlay on top of each other. I read other posts saying it is impossible to change the bars' width. I almost gave up and then I saw that in the example
HistogramDemo1.java, the bars do adjust to a proper width.
What classes to I need to override to get a control of bars; width in JfreeChart. I am using XYPlot and XYBarRenderer.
A discussion forum for JFreeChart (a 2D chart library for the Java platform).
1 post • Page 1 of 1