public ChartComponentBase(IGanttProject project, UIFacade uiFacade,
ZoomManager zoomManager) {
myProject = project;
myUIFacade = uiFacade;
myZoomManager = zoomManager;
myChartViewState = new ChartViewState(project, uiFacade);
myChartViewState.addStateListener(new ChartViewState.Listener() {
public void startDateChanged(ChartViewState.ViewStateEvent e) {
repaint();
}