• Post Reply Bookmark Topic Watch Topic
  • New Topic

jfreechart bar chart - show item value  RSS feed

 
Peter Primrose
Ranch Hand
Posts: 755
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys,
I have been playing around for a while and still didn't get the solution.
I'm trying to add the values to each bar (at the top)

anyone?

I am adding this code...but nothing

renderer.setItemLabelsVisible(true);
chart.getCategoryPlot().setRenderer(renderer);

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!