SwiftGantt

  • Rating:
  • Version: 0.5.0 Preview
  • Publisher:
    swiftgantt.sourceforge.net
  • File Size: 20.22 KB
  • Date: Feb 03, 2011
  • License: Free
  • Category:
    FlowChart & Diagram
    Office
SwiftGantt Download
Free Download SwiftGantt 0.5.0 Preview

This utility will allow you to view projects as Gantt Chart and export them as images. SwiftGantt is a open source java swing Gantt Chart component that lets you to display project schedule as Gantt Chart, either client-side or server-side application. It is intended to be flexible, compatible and easy to use.

You can use it to display GanttChart as different time unit(hour, all day hour, day, week, month, year), you can even set the span of working days in each week or span of working hours in each day. You can also adjust the size and color of elements in the Gantt Chart; the Gantt Chart can be exported as image file without displaying, which means you can integrate SwiftGantt into your web application as image generator.

SwiftGantt Features:
1. Time Unit
Different kinds of time unit in SwiftGantt: Hour, AllDay, Day, Week, Month, Year. Flexible settings for span of working days in each week and span of working hours in each day.

2. Color Customizing
You can set colors of elements inside Gantt Chart. Including backcolor of whole component, backcolor of time axis, backcolor of working time, backcolor of rest-out time, color of task group bar, color of task bar, color of task progress bar and backcolor of tasks tree view.

3. Size Customizing
You can customize width of time unit, height of row, height of task bar and height of progress bar. You can also set the amount of blank units before kickoff time and after deadline of the project. The task bar can be set to display accurate time unit.

4. Image Export
The Gantt Chart dispalying in SwiftGantt can be exported as *.png and *.jpg format image files. You can also integrate SwiftGantt into your web application. This feature is very useful when you want to create a servlet as a image file generator without actually displaying. See more detail in the progromming tutorial.

5. Multi Languages
SwiftGantt support multi languages, including English, Simplified Chinese, Traditional Chinese, Japanese

Jar files(find in SwiftGantt distribution) that using SwiftGantt are:
1. commons-collections-3.2.jar
2. commons-lang-2.2.jar
3. commons-io-1.3.2.jar
4. log4j-1.2.15.jar
5. swiftgantt-0.4.x.jar

Here are some common approaches for using SwiftGantt, you can have simple Gantt Chart step by step.

1. Construct the main class org.swiftgantt.GanttChart of SwiftGantt first, which is inherited from Swing component javax.swing.JScrollPanel.

GanttChart gantt = new GanttChart();

2. Set time unit of Gantt Chart. Take Week time unit for instance, it means each scale in the time axis is represent a week:

gantt.setTimeUnit(TimeUnit.Week);

3. you can decorate you Gantt Chart through the configuration class "Config", by setting the color, width, height for elements in Gantt Chart. Since version 0.3.0, you can set the span of working days in each week and span of working hours in each day.

4. Create data model "GanttModel" for Gantt Chart, all tasks information you want to display in GanttChart componenet are via this model class.

GanttModel model = new GanttModel();

5. Set start time and end time for schedule:
model.setKickoffTime(new GregorianCalendar(2008, 0, 1));
model.setDeadline(new GregorianCalendar(2008, 0, 30));

6. Create basic element for Gantt Chart Task. A Task object shows as a bar in the Gantt Chart. Each Task object can contains any sub tasks to form a tree structure. If a Task object contains sub tasks, it will be a Task group, which shows as different shape in Gantt Chart.

Requirements:
* Java

The license of this software is Free, you can free download and free use this flowchart & diagram software.

More Details:
Related Downloads: