Hi all,
I would like to know how to set the font size of 2D Vertical Bar Chart. I have set like the following but there is no effect,
// Vertical Bar Chart
JFreeChart tempChart = ChartFactory.createVerticalBarChart(strTitle,
strCatTitle, strValTitle, categoryData, true);
CategoryPlot plot = tempChart.getCategoryPlot();
plot.setLabelFont(sectionFont);
Pls help~!
Tony
2D Vertical Bar Chart
Re: 2D Vertical Bar Chart
The setLabelFont(...) method controls the font used to display value labels drawn on each bar (if they are visible).
There are lots of other setXXXFont methods distributed around the various classes, which one you need depends on what you are trying to change.
Regards,
DG
There are lots of other setXXXFont methods distributed around the various classes, which one you need depends on what you are trying to change.
Regards,
DG
Re: 2D Vertical Bar Chart
Thx for ur help, DG. I have tried setting it. However, it doesn't work. Do you know any other way to achieve this?
Tony
Tony