Hi guys,

I´ve got an XY AreaChart where I want to render the x-tick-interval depending on the amount of x axis labels the chart gets.

For example:
12 Days with data (12 labels on the x axis), the x-tick-interval should be 1
More than 12 Days with data (more than 12 labels on the x axis), the x-tick-interval should be 2

How is that possible with jfree chart in the Chart Post Processing Script?
I´ve got an Idea but I dont know which methods to use from jfree chart to get the amount of x axis labels and the method to set the x-tick-interval.