Gantt Chart: clean the category axis

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: clean the category axis

Post by lionel » Thu Mar 29, 2007 10:55 am

I everybody,

I have a chartpanel which contains a gantt chart and I want the chartpanel (including both axes) to be updated if I modify the dataset.
I want to make it is possible to select a dataset (task series collection) from a combobox and after the selection the panel shall be updated.
When I call taskseriesCollection.removeAll, the panel and the value axis are cleared but the labes in the category axis are still visible.
How can I clear also the category axis (a custom class which extends CategoryAxis) programmatically ?

Thanks for any help

Locked