# Gantt: Analytics

Bring greater context to your Gantt charts with reference lines marking important milestones: the current date, project start and end dates, and custom ranges such as sprint cycles. Click the **Analytics** button in the Story section of the header, then click the **Add new reference** button.&#x20;

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FEwiuNhCcs9lyTmg9oGFi%2Fimage.png?alt=media&#x26;token=4bbd3510-62be-4b00-9457-a4d5f389804a" alt=""><figcaption><p>Analytics for Gantt charts</p></figcaption></figure>

Let's look at how to configure reference lines and bands.

#### 1. Name

Add a custom name to identify the reference line/band. You will need to use this name to identify specific analytical components in the side pane to edit them.

In this example, we've changed the default name to 'Project Start'.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FQ3AZ354dwl1jvmZiotp6%2Fimage.png?alt=media&#x26;token=ee8cd6d5-0342-4e7c-bfb4-6d85806c5f99" alt=""><figcaption><p>Name option</p></figcaption></figure>

#### 2. Date(s)

Analytics+ provides multiple options, like first-of-date, to highlight important events in the project.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FlX5k79yCxvDpEesUcdyn%2Fimage.png?alt=media&#x26;token=6f8cdf59-deec-477f-aade-9965bc01d927" alt=""><figcaption><p>Reference line and band options</p></figcaption></figure>

* The first-of-date and last-of-date indicate the start date and end date of the project plan.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2Fo7uOzqD1gKdWh0TqHNaR%2Fimage.png?alt=media&#x26;token=82f45e46-51aa-40c9-bea0-34c3b03e2a10" alt=""><figcaption><p>first-of and last-of date</p></figcaption></figure>

#### 3. Line

Enable the toggle to render the reference line. Choose between dotted, dashed, and regular lines. Customize the color and thickness.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FmuusslxycYLJqPUWjJzg%2Fimage.png?alt=media&#x26;token=570a3128-fe22-4353-95e0-9be92aa2d13f" alt=""><figcaption><p>Line customization</p></figcaption></figure>

#### 4. Timezone offset

When adding a reference line for the current date across users in different time zones, apply the timezone offset to keep the date consistent for everyone.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2Fxc6pjh1VuntUfH4oQY76%2Fimage.png?alt=media&#x26;token=7bbfbce1-1027-4ad2-846b-2d3fc14b6413" alt=""><figcaption><p>Timezone offset</p></figcaption></figure>

#### 5. Custom date

Plot a reference line to indicate significant milestones, like design approved, development complete, or go-live. This option is enabled when 'Custom Date' is selected from the Date(s) dropdown.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FSQnli7HofWlsQBQisUL7%2Fimage.png?alt=media&#x26;token=8db8396a-3a2b-4938-83a5-707570c3241a" alt=""><figcaption><p>Custom date</p></figcaption></figure>

#### 7. From and To

Plot reference bands to highlight sprint cycles, code freezes, or QA/UAT periods. Select the 'Custom Date Range' option from the Date(s) dropdown. Choose from built-in options like first-of-date, last-of-date, Today, or set custom dates.

In this example, we've used the first-of-date and a custom date to create a date range to display the hiring window.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FrG10cRnIfMr2JpiER4TS%2Fimage.png?alt=media&#x26;token=60f06800-424a-4deb-be2c-a380db398329" alt=""><figcaption><p>Plotting date ranges</p></figcaption></figure>

#### 8. Range color

Set a custom color for the reference band.

{% hint style="success" %}
Select 'Custom Date Range' from the Date(s) dropdown to enable this option.
{% endhint %}

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FKfrqptUYfBzxUhRrnkib%2Fimage.png?alt=media&#x26;token=28a06fee-e8a4-4087-85a4-7a6cb6cf9d09" alt=""><figcaption><p>Date range color</p></figcaption></figure>

#### 9. Pattern

Customize the reference band further by applying a fill pattern.

{% hint style="success" %}
Select 'Custom Date Range' from the Date(s) dropdown to enable this option.
{% endhint %}

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2Fe9jQ3zyYUeU5g621lPlI%2Fimage.png?alt=media&#x26;token=a63e5289-8710-4017-9e87-38f326aaf271" alt=""><figcaption><p>Fill pattern</p></figcaption></figure>

#### 10. Label

Enable this toggle to display a custom label against the reference line/band.

* Enter the display name in the **Name** textbox.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FUfLSN5FYhdKcKLsm6cpn%2Fimage.png?alt=media&#x26;token=8de54c36-6227-4c98-8e12-2431b0c87ed8" alt=""><figcaption><p>Label</p></figcaption></figure>

* Customize the **font** style, size, and color. You can also set a custom background color to highlight the label.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FQRLpLAuZG6yhyoloyvsr%2Fimage.png?alt=media&#x26;token=c9e97d2d-b09b-4e25-ad6a-52509d44a7ea" alt=""><figcaption><p>Font customizations</p></figcaption></figure>

* Set the x and y co-ordinates at which to position the label using the **Offset** option.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FqNfA9uMtdhyLXHLHXzhC%2Fimage.png?alt=media&#x26;token=b3977827-9990-4497-96a6-7e90987b2d7c" alt=""><figcaption><p>Offset option</p></figcaption></figure>

* Rotate the label vertically or horizontally. Set the rotation to 0 to place the label horizontally.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FmPYqojEyTyKd7ipRkhDe%2Fimage.png?alt=media&#x26;token=ac510de5-d1e5-4abe-b48b-11774f35f612" alt=""><figcaption><p>Label rotation</p></figcaption></figure>
