Hi;
I am using JFreeChart in a servlet/jsp application.Everything goes fine but i need to display value of a VerticalBar just over the Verticalbar. And same problem with Pie chart, I need to display the value of each piece on the pie graph. Thanx.
Displaying Value of a Vertical Bar just over the Bar
Re: Displaying Value of a Vertical Bar just over the Bar
For bar charts, there is a setValueLabelsVisible(...) method in the CategoryPlot class. Works for some charts, not others.
For pie charts, you can control the label type with the setSectionLabelType(...) method.
Regards,
Dave Gilbert
For pie charts, you can control the label type with the setSectionLabelType(...) method.
Regards,
Dave Gilbert
Re: Displaying Value of a Vertical Bar just over the Bar
Thanks David, it works. But setLabelsVisible(true) method seems deprecated.