This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes JFreeChart - StackedBarChart Width Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "JFreeChart - StackedBarChart Width" Watch "JFreeChart - StackedBarChart Width" New topic

JFreeChart - StackedBarChart Width

Astria Bothello

Joined: Mar 12, 2012
Posts: 11
I want to set the width of my stackedbarchart. I have used the following to set the width.


But this works only if I have one bar displayed. See attachment - one
If I have multiple bars (as per the series) the width seems to be auto set. See attachment - multiple

Appreciate any suggestions

[Thumbnail for one.gif]

[Thumbnail for multiple.gif]

I agree. Here's the link:
subject: JFreeChart - StackedBarChart Width
jQuery in Action, 3rd edition