private static final Gantt createGantt ( ) { final Gantt gantt = new Gantt ( ) ; gantt . setSizeFull ( ) ; gantt . setWidth ( 100 , Unit . PERCENTAGE ) ; gantt . setHeight ( 100 , Unit . PERCENTAGE ) ; gantt . setResizableSteps ( false ) ; gantt . setMovableSteps ( false ) ; gantt . setResolution ( Resolution . Week ) ; return gantt ; }
Creates the gantt .