About javabeanz
This blog is an attempt to share what I know to all.
Please feel free to contact me for any clarification/queries. I will try to make you feel better. Please let me know if there is any flaws/mistakes/errors, and I will try to fix it at the earliest.
Important notice:
The code snippets provided in this blog are free. You can use it, modify it and even re-distribute it. These snippets & contents have been provided in the hope that it may be useful as a learning material, but with NO WARRANTY.
All trademarks mentioned in my pages on javabeanz are the property of their owners and are acknowledged by me as their own copyrights.
All the posts I have put in my blog are my/contributors’ own thoughts & findings.
Subin
www.subin.co.in



Hi Subin,
Expert Level: Beginner
Your code for JFreeChart were of great help to me. I still have some questions. I am using JFreeChart to display on a JSP page. I have done that successfully. But how do I get the plotarea for a CategoryPlot to display on the center of the screen? Could you please help me with that? Also how do I change the color of the Bars in the BAR Chart? Please help.
Cheers!
cwsns6
June 23, 2008 at 11:03 pm
Hi,
Sorry for a late reply. Right now I dont have a code snippet to help you. Pls check http://javabeanz.wordpress.com/2007/08/06/creating-pie-charts-using-custom-colors-jfreechart/ where you can find how to create a Pie chart with custom colors. You can follow the same way to achieve custom colored bar charts. (There has to have something like a BarRenderer).
Subin
Subin
June 27, 2008 at 12:10 pm