OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/docs/user-guide/gantt-chart/README.md

148 lines
8.4 KiB

---
sidebar_navigation:
title: Gantt charts
priority: 865
description: Create project timelines with Gantt charts in OpenProject
robots: index, follow
keywords: gantt chart, timeline, project plan, gantchart
---
# Gantt charts
<div class="glossary">The **Gantt chart** in OpenProject displays the work packages in a timeline. You can collaboratively create and manage your project plan. Have your project timelines available for all team members and share up-to-date information with stakeholders. You can add start and finish date and adapt it with drag and drop in the Gantt chart. Also, you can add dependencies, predecessor or follower within the Gantt chart.</div>
| Topic | Content |
5 years ago
| ------------------------------------------------------------ | ------------------------------------------------------------ |
| [Activate the Gantt chart](#activate-the-gantt-chart) | How to activate the Gantt chart in OpenProject? |
| [Create a new element](#create-a-new-element-in-the-gantt-chart) | How to add a new item to the Gantt chart? |
| [Relations in the Gantt chart](#relations-in-the-gantt-chart) | Create and display dependencies in the Gantt chart. |
| [Understanding the colours and lines in the Gantt chart](#understanding-the-colours-and-lines-in-the-gantt-chart) | What do the clamps, lines and symbols in the Gantt chart mean? |
| [Gantt chart configuration](#gantt-chart-configuration) | How to configure the view of your Gantt chart, e.g. add labels? |
| [Synchronize data between OpenProject and Excel](#synchronize-data-between-openproject-an-excel) | How to synchronize data from OpenProject to Excel? |
| [Gantt chart views](#gantt-chart-views) | How to zoom in and out and activate the Zen mode? |
<video src="https://www.openproject.org/wp-content/uploads/2020/12/OpenProject-Project-Plan-and-Timelines-Gantt-charts.mp4" type="video/mp4" controls="" style="width:100%"></video>
## Activate the Gantt chart
A Gantt chart can be activated in any work package list, to display the work packages in a timeline view.
5 years ago
To activate the Gantt chart, select the **Gantt** icon at the top right of the work package list.
![activate-gantt](activate-gantt.gif)
## Create a new element in the Gantt chart
To add a work package (e.g. phase, milestone or task) to a Gantt chart, click the **+ Create new work package** link at the bottom of the work package list view.
You can add a subject and make changes to type, status or more fields.
In the **Gantt chart** you can schedule the work package with drag and drop and change the duration.
To **change the order of an item** in the Gantt chart, click the **drag and drop** icon (6 dots) at the left hand side of the work package row. Drag the item to the new position. The blue horizontal line indicates the new position to drop the element.
5 years ago
![create-new-element-gantt-chart](create-new-element-gantt-chart.gif)
### How to change the duration of an element in the Gantt chart?
To change the duration of a work package in the Gantt chart view, hover over the work package in the Gantt chart and use the little arrows on its ends to adjust the start date or finish date. This will shorten or prolong its duration.
To move a work package on the time line just click on it and drag and drop it to the desired point of time. This will change its start and finish date.
5 years ago
## Relations in the Gantt chart
In the Gantt chart you can track dependencies of work packages (e.g. phases, milestones, tasks). This way you can get an easy overview of what needs to be done in which order, e.g. what tasks need to be completed to achieve a milestone.
To add a dependency right-click on an element in the Gantt chart.
5 years ago
In the menu, choose **Add predecessor** or **Add follower**.
Select the item to which you want to create a dependency. The precede and follow relation is marked with a small blue line in the Gantt chart.
5 years ago
5 years ago
![dependencies-gantt-chart](dependencies-gantt-chart-1566556144225.gif)
*OpenProject does not yet include a baseline feature to compare scheduled versions. However, we are aware of the need for it and documented it. Please check here https://community.openproject.com/projects/openproject/work_packages/26448/activity for an update.*
5 years ago
To find out about **how work packages behave**, when you move their predecessor or follower or change the date of a child work package please read our guide for the [Automatic and manual scheduling mode](scheduling).
5 years ago
## Understanding the colours and lines in the Gantt chart
- A **blue line** connects two work packages, they are predecessor and follower.
- The **vertical red dotted line** indicates today's date.
- A **black clamp** indicates the duration from the start date of a work packages earliest starting child until the end date of a work packages latest ending child.
- A **red clamp** indicates the same as the black clamp, with an important difference: The clamp turns red if the dates derived from the children are before or after the manually scheduled dates (of this parent work package).
The clambs are black in case the derived dates are within the set dates (of this parent).
- A **diamond symbol** stands for a milestone.
- A **bar** stands for work packages like phases and tasks.
5 years ago
## Gantt chart configuration
To open the Gantt chart configuration, please open the **settings** icon with the three dots on the upper right of the work package module.
5 years ago
Choose **Configure view ...** and select the tab **Gantt chart**.
Here you can **adapt the Zoom level**, or choose Auto zoom which will select a Zoom level which best fits to your browser size to have optimal results on a page.
5 years ago
Also, you have **Label Configuration** for your Gantt chart. You can add up to three additional labels within the chart: On the left, on the right and on the far right. Just select which additional information you would need to have in the Gantt chart. This can be especially relevant if you want to print your Gantt chart.
5 years ago
Click the **Apply** button to save your changes.
5 years ago
![configure-gantt-chart](configure-gantt-chart.gif)
### How to export data from a Gantt diagram?
To export the data from your Gantt chart there are several possibilities:
5 years ago
* [Export via the work package view](../work-packages/edit-work-package/#export-work-packages)
5 years ago
* [Print (e.g. to PDF)](#how-to-print-a-gantt-chart)
* [Synchronize data from OpenProject to Excel](#synchronize-data-from-OpenProject-to-Excel) <-> MS Project
5 years ago
### How to print a Gantt chart?
The Gantt chart can be printed via the browser's printing function. It is optimized for Chrome.
First, make sure to **add the labels** you will need in the Gantt chart, e.g. Start date, Finish date, Subject, in the [Gantt chart configuration](#gantt-chart-configuration).
Choose the **Auto zoom** by clicking on the Auto zoom button on top of the Gantt chart.
Optimize the screen by dragging the Gantt chart to the far left so that only the Gantt chart is seen.
Then, **press CTRL + P** to print the Gantt chart view.
Make sure you select **Landscape** as a print layout.
In the settings, enable the **Background graphics** for printing.
Press the **Print** button.
![print-gantt-chart](print-gantt-chart.gif)
For other browsers, please simply follow the browser's printing instruction to optimize results.
## Synchronize data between OpenProject and Excel
5 years ago
4 years ago
You can synchronize your work package data between OpenProject and Excel (two-way synchronization). By extension you could import MS Project files – by saving them as Excel files and importing them into OpenProject. You can download a free Excel synchronization template to do this.
5 years ago
Follow our [Step by step guide how to synchronize your Excel Sheet with OpenProject](../integrations/Excel Synchronization).
## Gantt chart views
### Zoom in the Gantt chart
To zoom in and zoom out in the Gantt chart view, click on the button with the **+** and **- icon** on top of the chart.
![Gantt-chart-zoom](Gantt-chart-zoom.png)
### Auto zoom
Select the **auto zoom button** on top of the Gantt chart to have the best view of your Gantt chart.
![Gantt-chart-autozoom](Gantt-chart-autozoom.png)
### Zen mode
The zen mode gives you more space to focus on the tasks at hand. It's almost like activating the full screen view in your browser. To exit press the *Esc* key or click on the **zen mode** symbol again.
![image-20201007164653327](image-20201007164653327.png)