I am having difficulties manipulating the bars using a VerticalXYBarChart. I would like to make the bars bigger and closer together. To make the bars bigger I assumed that I should use setSeriesStroke but when I do that there does not seem to be any change.
Is it possible to make the bars bigger and closer using a VerticalXYBarChart? How can I achieve this. Thanks.
VerticalXYBarChart
Re: VerticalXYBarChart
The VerticalXYBarRenderer class draws bars where the bar width is determined by the data values passed to the renderer via the IntervalXYDataset. The getStartXValue(...) method gives the left edge of the bar, the getEndXValue(...) method gives the right edge of the bar.
So to change the size of the bars, you actually have to change the dataset you are plotting...but only for the XY bar plot, the bar plots based on the CategoryDataset are different.
Ask some more if you need clarification...
Regards,
DG.
So to change the size of the bars, you actually have to change the dataset you are plotting...but only for the XY bar plot, the bar plots based on the CategoryDataset are different.
Ask some more if you need clarification...
Regards,
DG.