Gantt charts are bar charts that visually illustrate a project's tasks, schedule, and dependencies. With Frappe Gantt, you can build beautiful, customizable, Gantt charts with ease.
You can use it anywhere from hobby projects to tracking the goals of your team at the worksplace.
ERPNext uses Frappe Gantt.
I needed a Gantt View for ERPNext. Surprisingly, I couldn't find a visually appealing Gantt library that was open source - so I decided to build it. Initially, the design was heavily inspired by Google Gantt and DHTMLX.
- Customizable Views: customize the timeline based on various time periods - day, hour, or year, you have it. You can also create your own views.
- Ignore Periods: exclude weekends and other holidays from your tasks' progress calculation.
- Configure Anything: spacing, edit access, labels, you can control it all. Change both the style and functionality to meet your needs.
- Multi-lingual Support: suitable for companies with an international base.
Install with:
npm install frappe-gantt
Include it in your HTML:
<script src="frappe-gantt.umd.js"></script>
<link rel="stylesheet" href="frappe-gantt.css">
Or from the CDN:
<script src="https://cdn.jsdelivr.net/npm/frappe-gantt/dist/frappe-gantt.umd.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/frappe-gantt/dist/frappe-gantt.css">
Star using Gantt:
let tasks = [
{
id: '1',
name: 'Redesign website',
start: '2016-12-28',
end: '2016-12-31',
progress: 20
},
...
]
let gantt = new Gantt("#gantt", tasks);
If you want to contribute enhancements or fixes:
- Clone this repo.
cd
into project directory.- Run
pnpm i
to install dependencies. pnpm run build
to build files - orpnpm run build-dev
to build and watch for changes.- Open
index.html
in your browser. - Make your code changes and test them.
关于
Open Source Javascript Gantt
最后更新于 10 hours ago
License