# Adding a Gantt chart to Podio Projects

Very often it's desirable to see a visualization of a project's timeline in a gantt chart. With our new charting features, this can quite easily be done.

## The Setup

For this example, I'm going to use only the most necessary fields. We have a **Projects** app with an image field for the gantt chart, and a **Deliverables** app which has:

* a relationship field to **Projects**
* a **Date** field for the start and end date of the deliverable

  ![Adding Gantt Chart](https://www.progress.com/podio/documentation/assets/14dc64fe8e81dd0505cfa507aef1739a/gantt-chart1.png)

## The Flows

There are a few ways to achieve our desired goal, but here I'll present what appears to be the simplest solution.

We'll need a manual flow in **Projects** to generate the gantt chart. This flow would:

* Get all referenced **Deliverables**
* Update the image field with a gantt of the **Deliverables**

  ![Adding Gantt Chart](https://www.progress.com/podio/documentation/assets/e56b0c800d0220b3201198e1ead6139b/gantt-chart2.png)

  ![Adding Gantt Chart](https://www.progress.com/podio/documentation/assets/d9b0128e168cec1dd8e93a38dcee13e9/gantt-chart3.png)

  Then we'd need another 2 flows in **Deliverables** app to trigger the chart flow above anytime a **Deliverable** is created, or the date range of a **Deliverable** is changed:

  ![Adding Gantt Chart](https://www.progress.com/podio/documentation/assets/4b1ca16793cf706458e256c32689d2ed/gantt-chart4.png)

  ![Adding Gantt Chart](https://www.progress.com/podio/documentation/assets/9e985393ce27fe742e507d92dc3dfffa/gantt-chart5.png)

## The Result

Now, anytime a **Deliverable** is added or has it's date range changed, a new **Gantt** chart will be placed in the **Project** item.

![Adding Gantt Chart](https://www.progress.com/podio/documentation/assets/25bfba6117e8d8facdbc8667887f9252/gantt-chart6.png)
