Search found 2 matches
- Fri Oct 30, 2009 7:41 pm
- Forum: JFreeChart
- Topic: JFreeChart LayeredBarRenderer
- Replies: 1
- Views: 2310
JFreeChart LayeredBarRenderer
Hi, I am having a problem with JFreeChart. I am trying to make overflow bar charts with subtitles and without, using the LayeredBarRenderer. Creating with subtitles: http://img442.imageshack.us/img442/2742/withlegend.jpg And without: http://img97.imageshack.us/img97/5038/nolegend.jpg The sequence of...
- Fri Oct 30, 2009 6:43 pm
- Forum: JFreeChart
- Topic: LayeredBarRenderer : adding the labels to bars in BarChart
- Replies: 4
- Views: 6968
Re: LayeredBarRenderer : adding the labels to bars in BarChart
Here is an answer final LayeredBarRenderer renderer2 = new LayeredBarRenderer(); StandardCategoryItemLabelGenerator categoryLabel = new StandardCategoryItemLabelGenerator("{2}",new DecimalFormat( "###.##" )); renderer2.setBaseItemLabelGenerator(categoryLabel); renderer2.setBaseItemLabelsVisible(tru...