Period Axis Label Generator

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Post Reply
iogan18tm
Posts: 24
Joined: Tue May 04, 2004 5:14 pm

Period Axis Label Generator

Post by iogan18tm » Fri Nov 30, 2007 10:39 am

I think, its unfair that PeriodAxis doesn't have a customizable label generator.
Simple DateFormat is bound onto the RegularPeriod, not the whole scale is available to if to make a right label for tick. I'll try to introduce a sample code in a day or two.

iogan18tm
Posts: 24
Joined: Tue May 04, 2004 5:14 pm

Post by iogan18tm » Fri Nov 30, 2007 8:26 pm

Patch is ready to be tested.


http://sourceforge.net/tracker/index.ph ... tid=315494

General uses are - handle different time dimension scales or make complex formatting like hour number in a week.

Post Reply