47 lines
887 B
Markdown
47 lines
887 B
Markdown
# Frappé Gantt
|
|
A simple, interactive, modern gantt chart library for the web
|
|
|
|

|
|
|
|
#### View the demo [here](https://frappe.github.io/gantt).
|
|
|
|
### Install
|
|
```
|
|
npm install frappe-gantt
|
|
```
|
|
|
|
### Usage
|
|
Include it in your html:
|
|
```
|
|
<script src="frappe-gantt.min.js"></script>
|
|
```
|
|
|
|
And start hacking:
|
|
```js
|
|
var tasks = [
|
|
{
|
|
id: 'Task 1',
|
|
name: 'Redesign website',
|
|
start: '2016-12-28',
|
|
end: '2016-12-31',
|
|
progress: 20,
|
|
dependencies: 'Task 2, Task 3',
|
|
custom_class: 'bar-milestone' // optional
|
|
},
|
|
...
|
|
]
|
|
var gantt = new Gantt("#gantt", tasks);
|
|
```
|
|
|
|
If you want to contribute:
|
|
|
|
1. Clone this repo.
|
|
2. `cd` into project directory
|
|
3. `npm install`
|
|
4. `npm run dev`
|
|
|
|
License: MIT
|
|
|
|
------------------
|
|
Project maintained by [frappe](https://github.com/frappe)
|