A discussion forum for JFreeChart (a 2D chart library for the Java platform).
-
Guest
Post
by Guest » Tue May 25, 2004 12:52 pm
hi,
we are using line chart with xyplot. I want to increase the font size in x and y axis tick labels. Its very urgent..Please guide me.
Thanks for advace
-
gotti
- Posts: 6
- Joined: Sun May 02, 2004 2:22 pm
Post
by gotti » Tue May 25, 2004 2:01 pm
I dont use that chart but i guess it works somehow like that:
//x-Axis
Font xFont = new Font("SansSerif", 8,Font.PLAIN);
CategoryPlot plot = chart.getCategoryPlot();
CategoryAxis domainAxis = plot.getDomainAxis();
domainAxis.setTickLabelFont(xFont);