I´ve got an AreaChart where I want to render the x-tick-interval depending on the amount of x axis labels the chart gets.
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
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.
A discussion forum for JFreeChart (a 2D chart library for the Java platform).
1 post • Page 1 of 1