• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to draw the bar chart for the data in mysql

 
Rajesha Acharya
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have succefully inserted data inside the mysql using xml dom parsing now i want to display the mysql data on my bar chart, so please help with the proper code.

my database has 4 columns, namely "name", "college", "grade", "nature"

so i have inserted 4 different names and out of 4 names, 2 are sharing the same college. each one are having different grade like good bad and medium. same goes with the grade as well, like first, second, third. So now i need to write the bar chart for this. please help me out.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, we don't just post code here, we guide people to the solution. If this was my problem, I'd use a charting library like JFreeChart or OpenCharts 2.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic