• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 838
  • Last Modified:

Sample code to display pie chart and stacked bar chart on a web page using Jfree charts

Hi,
Can someone post sample code to display pie chart and stacked bar chart on a web page using Jfree charts?
eg. I want to display chart for series "First" and "Second" with percentages 30%-70% and 40%-60% respectively.
Thanks!
0
makam_75
Asked:
makam_75
  • 4
1 Solution
 
kiranhkCommented:
check out this. it has the sample code in the resources section

http://www.javaworld.com/javaworld/jw-12-2002/jw-1227-opensourceprofile_p.html
0
 
CEHJCommented:
There are examples included with the JFreeChart download. The pie chart one is PieChart3DDemo1.java. I'm not certain there's one for a stackedd bar chart, but the api principles are the same
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
makam_75Author Commented:
Thankyou CEHJ, i will go through the examples.
0
 
CEHJCommented:
No problem
0
 
CEHJCommented:
8-)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now