I am showing a vertical bar chart with date on x axis and
numbers on y axis. I want to display the range value(y-
axis value) of each bar on top of the bar. We could do it
with JFreeChart using
CategoryItemRenderer renderer = plot.getRenderer();
CategoryLabelGenerator
generator = new StandardCategoryLabelGenerator(
"{2}", new DecimalFormat
("0"));
renderer.setLabelGenerator
(generator);
renderer.setItemLabelFont
(new Font("Serif", Font.PLAIN, 10));
renderer.setItemLabelsVisible
(true);
I am unable to locate any tag attributes to do this.
Please help.