I am playing around with the simple VerticalBarChartDemo and
would like to place the actual value right above each vertical line.
Is this possible??
Or is there another way to accomplish something close to this??
Simple Bar Chart
Re: Simple Bar Chart
Yes, you can use the setValueLabelsVisible(boolean) method in the CategoryPlot class:
CategoryPlot plot = myChart.getCategoryPlot();
plot.setValueLabelsVisible(true);
This works for line charts and some bar charts, but needs more work still. Try it out and see if it works for you...
Regards,
DG.
CategoryPlot plot = myChart.getCategoryPlot();
plot.setValueLabelsVisible(true);
This works for line charts and some bar charts, but needs more work still. Try it out and see if it works for you...
Regards,
DG.