Create custom x-axis labels for line chart jfreechart?

Note that a month's data is 6 * 24 * 30 = 4320; that's too many values to view with much precision, and 6 moths is worse. As an alternative, you can slide or page the data set. The default axis labels should adjust automatically.

If you have problems, please post an sscce.

The 10-minute ticks are way to much to display, instead you should either: set the NumberAxis setAutoRange() to true manually set the min, max and most importantly the TickUnit. For dates and time go check out DateTickUnit, and for numbers in general it is NumberTickUnit If you can determine what range is displayed, it is only a matter of creating the correct DateTickUnit. If it for example is hours: numberAxis.

SetTickUnit(new DateTickUnit(DateTickUnitType. HOUR, 1)); The gridlines you mention will be the same place as the tick marks so this should solve both problems.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions