For range axis
CategoryPlot p = chart.getCategoryPlot(); ValueAxis axis = p.getRangeAxis();
For axis Domian
CategoryPlot p = chart.getCategoryPlot(); CategoryAxis axis = p.getDomainAxis();
then set the font as
Font font = new Font("Dialog", Font.PLAIN, 30); axis.setTickLabelFont(font)
source share