i was wondering if anybody could has tried out rendering a 100% stacked bar chart, so you the stack adds upto exactly 100%.
If anybody has any bright ideas about these either reply or pm me please
Stacked 100% bar chart
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
There is a setRenderAsPercentages(boolean) method in the StackedBarRenderer class, specifically for this purpose.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


hi Daviddavid.gilbert wrote:There is a setRenderAsPercentages(boolean) method in the StackedBarRenderer class, specifically for this purpose.
the solution worked for a normal stacked bar but didnt work for a stacked3d. I am working with jfreechart1.0.1 and dont want to change my verison cause i have extended a lot many classes to suffice my needs of olap charting which were not addressed by JfreeChart. So in case its for a version 1.0.2 or ahead i would kindly ask u for a patch which would make the same possible.
And last but not the least i appreciate you prompt reply
