multiple lines for category names when using a line chart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Heather Grace

multiple lines for category names when using a line chart

Post by Heather Grace » Sat Feb 16, 2002 5:38 pm

Is it possible to have multiple line category names when using a line chart? The data we have to chart is over a period of time: weeks, months, or quarters.

For example,

4 weeks ago 3 weeks ago 2 weeks ago last week
(9/18) (9/25) (10/1) (10/8)



thanks in advance.

David Gilbert

Re: multiple lines for category names when using a line char

Post by David Gilbert » Tue Feb 19, 2002 9:34 am

Hi Heather,

Unfortunately you can't do that unless you modify the source code for the HorizontalCategoryAxis.

Regards,

DG.

Locked