# Gantt

Gantt view is incredibly similar to the [Timeline](/views/display/timeline.md) display option, but it allows you to show *dependencies* between timeline events. For example, track the tasks that preceded another task in a project, and which tasks will succeed it.

<figure><img src="/files/zyYCVDxrM7ObL8FVUXKz" alt=""><figcaption></figcaption></figure>

### Date Shifting

When you drag a task to adjust the start and end, you can choose to:

* Shift when dates overlap only (adjust just what's impacted)
* Shift and maintain time between records
* Do not shift automatically. Let overlaps show up so you can decide what to fix

This means no surprises, and no unintenteded changes across your projects.

### Date Formats

#### Depending on the type of date field you're using, Noloco will display your Gantt events differently. Date Time Fields

If your field has a date and time, then Noloco will (unless specified) display this in the user's local timezone.

If you don't include an end date, the gantt event will default to one hour long.

A few examples of events with date times:

* Meetings that start and end at specific times
* Bookings that start and end at specific times

#### Date only Fields

If your field has only a date (and no time) then Noloco will display these as all-day events, using the date of the event, ignoring the user's timezone.

A few examples of events without dates:

* Birthdays
* Multi-day events such as conferences
* Single-day events that don't have a specific start or end date

#### Mixing date-time fields with all day events:

If you need to display both variable time events and all-day events on the same calendar, it can be quite confusing to get this right with timezones.

But thankfully it is possible to do in Noloco.

Because you need to specify event start and end times, you'll need to use a date-time field.

But to indicate to Noloco that an event is an all-day event, regardless at timezone **you can make the event start at midnight UTC** (that's not your local timezone).

I.e. if you have an event that's meant to happen on February 1st, you would set the date to be `1st Feb 00:00` or as an ISO string `2023-02-01T00:00:00.000Z`

Similarly, to indicate that it's an all-day event, you need to set the end-date to have the same value. That is to say, that the event is only on that day.

If an event needs to span multiple days, but be treated as an all-day event, regardless of timezone, you can adjust the end date to be on the last day of your event, but make sure it's time is midnight UTC (`00:00`)

Below is an example where we mix all-day and specific event time events:

Sample data

| Name                        | Start            | End              |
| --------------------------- | ---------------- | ---------------- |
| Multiple days - non all-day | 03/02/2023 00:00 | 04/02/2023 11:30 |
| Starts at midnight          | 03/02/2023 00:00 | 03/02/2023 05:00 |
| Multiple Days               | 01/02/2023 00:00 | 04/02/2023 00:00 |
| All Day 1                   | 02/02/2023 00:00 | 02/02/2023 00:00 |
| All Day 2                   | 03/02/2023 00:00 | 03/02/2023 00:00 |
| Two hours long              | 05/02/2023 14:00 | 05/02/2023 16:00 |
|                             |                  |                  |

### Grouping gantt events

You can group your events by any Single Option field, like a status or type. This produces distinct lanes for your events, to see how events overlap between lanes.

You can also view your timeline at different levels (weekly, monthly, quarterly, or yearly) depending on how you want to plan and track your work.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guides.noloco.io/views/display/gantt.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
