Gantt Chart: CatedoryAxis Width and DateAxis Height

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
lionel
Posts: 6
Joined: Tue Mar 27, 2007 5:06 pm

Gantt Chart: CatedoryAxis Width and DateAxis Height

Post by lionel » Mon Apr 23, 2007 6:45 pm

Hi everybody,

How is it possible to find out the axis label width (for the category axis)
and the axis label height (for the date axis) when drawing a gantt chart ?

I mean the horizontal and vertical spaces between the following boxes:
(The outter box represents the chart panel and the inner box
represents the chart itself (where the series are drawed).

Thanks in advance for any help.

|-----------------------------------------------------------------------|
| |
| a b c d e f g h i j k l m o p q r s t u v w x y z |
| ------------------------------------------------- |
| 1 | | |
| 2 | | |
| 3 | | |
| 4 | | |
| 5 | | |
| 6 | | |
| 7 | | |
| 8 | | |
| <-------> | | |
| 9 | | |
| 10 | | |
| 11 | | |
| 12 | | |
| 13 | | |
| 14 | | |
| 15 | | |
| 16 | | |
| 17 | | |
|

Lionel

Locked