how to adjust the date font size in timeseries chart reporting component?
1 Like
This is old, but I was searching for info on related JFreeChart stuff and this came up.
Enabling scripting on the chart and add:
def configureChart(data, chart):
import java.awt.Font as Font
# new font to use
font = Font('Arial', Font.PLAIN, 10)
# get domain axis
plot = chart.getPlot()
domainAxis = plot.getDomainAxis()
# set font
domainAxis.setTickLabelFont(font)