lrozenblyum / gantt

Gantt Chart Add-on for Vaadin 7

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gantt Chart Add-on for Vaadin 7

Gantt is an UI component add-on for Vaadin 7.

You can read more about Gantt charts in general from here: http://en.wikipedia.org/wiki/Gantt_chart.

Download latest release jar from http://vaadin.com/directory#addon/gantt

Please use version 0.3.0 or later with Vaadin Framework 7.2+. Version 0.3.0 is not backward compatible with earlier Vaadin Framework versions. Version 0.2.2 is the last version for Vaadin Framework 7.0-7.1.

List of features that are supported:

  • Server side API allows to modify timeline options and step options like start/end date, caption, color and adding/removing steps
  • adjustable timeline range
  • timeline supports Hour, Day and Week resolutions
  • modify step's start date and end date by dragging and moving the step (move and resize events)
  • scrolling enabled horizontally and vertically for a large chart content
  • scales the small timeline and content width up to fit in the space available
  • Vaadin Table can be used as a row header, vertical scrolling is mirrored to the table and vice versa
  • background grid (except for IE8)
  • dynamically modifiable predecessor relations between steps (Browser has to support SVG)
  • sub-steps
  • tooltips for steps
  • touch support (experimental)
  • supports Valo theme

Technical details:

  • server side class name is Gantt, it extends AbstractComponent
  • client side connector class name is GanttConnector
  • client side widgets (pure GWT) are
    • GanttWidget: main widget that GanttConnector uses, extends ComplexPanel
    • TimelineWidget: standalone widget representing timeline.
    • AbstractStepWidget: extends ComplexPanel
      • StepWidget
      • SubStepWidget
    • SvgArrowWidget

Tested to work with following browsers:

  • IE 8, 9, 10, 11
  • Firefox
  • Chrome
  • Safari

Demo

Online demo available @ http://tomivirtanen.app.fi/gantt-demo/

Code can be found under /gantt-demo folder.

Building and running demo

  • git clone
  • mvn clean install
  • cd gantt-demo
  • mvn jetty:run

To see the demo, navigate to http://localhost:8080/gantt-demo

License & Author

Add-on is distributed under Apache License 2.0. For license terms, see LICENSE.txt.

Gantt is written by Tomi Virtanen

About

Gantt Chart Add-on for Vaadin 7

License:Apache License 2.0


Languages

Language:Java 97.2%Language:CSS 2.8%