Git Product home page Git Product logo

gantt's Introduction

Gantt Chart Add-on for Vaadin 8

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

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.9.5 with Vaadin Framework 7.

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)
  • reorder steps by drag and dropping
  • 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 or Grid can be used as a row header, vertical scrolling is mirrored to the table/grid and vice versa
  • background grid
  • dynamically modifiable predecessor relations between steps
  • sub-steps
  • tooltips for steps
  • touch support
  • 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 11
  • Edge
  • 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.