# Gantt: Data label settings

In this section, we'll explore data label customizations for Gantt charts.

#### 1. Enable data label

Data labels will be displayed against the progress bars only when this toggle is enabled.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FUf3uahJj2lRjOrgGur9K%2Fimage.png?alt=media&#x26;token=a0346dba-7249-4067-9bb0-cf390d70e01b" alt=""><figcaption><p>Enable data label for Gantt</p></figcaption></figure>

#### 2. Position

Set the position of the data label with respect to the progress bar.&#x20;

<div><figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2F1hnqPyl94A4hyV1p4Bot%2Fimage.png?alt=media&#x26;token=52d10b45-ba98-4c0d-8fa7-d08cafe584d5" alt=""><figcaption><p>Outside left</p></figcaption></figure> <figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FCMfs7LcryuZUXEBRPuPg%2F2025-01-30_17h47_56.png?alt=media&#x26;token=83e82bd5-933c-4b51-8538-54bd9033cfc3" alt=""><figcaption><p>Outside right</p></figcaption></figure> <figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FxtomIg13BQ4ggS8F1N2Y%2F2025-01-30_17h48_56.png?alt=media&#x26;token=f22b7068-7229-40cc-9099-4ae71e693ad2" alt=""><figcaption><p>Inside left</p></figcaption></figure> <figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FVD3LuAwDsltuaz7NMPNb%2F2025-01-30_17h50_39.png?alt=media&#x26;token=eafddee6-5741-412f-bbfd-00d40edd419f" alt=""><figcaption><p>Inside center</p></figcaption></figure> <figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2F1QHXhs5B8fTRCXsCcdOt%2F2025-01-30_17h51_18.png?alt=media&#x26;token=4926c1c5-fcea-4ddb-9535-a0824b11c676" alt=""><figcaption><p>Inside right</p></figcaption></figure></div>

#### 3. Based on

The data label can display the completion status of each task or the start/end dates. You can also choose to display the resource assigned to the task or the milestone date as the data label. Generally, the percentage of completion is shown.

<div><figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FKs99D6QkklL8BAiiPilZ%2Fimage.png?alt=media&#x26;token=c3d20100-c347-4f0b-9bf5-c605b132a424" alt=""><figcaption><p>Data label based on end date</p></figcaption></figure> <figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FiuuntXTTVqKwCWspdZTK%2F2025-01-30_18h12_25.png?alt=media&#x26;token=5d37d86f-c7f3-4670-aa5c-a17c3420b64e" alt=""><figcaption><p>Data label based on resource name</p></figcaption></figure></div>

#### 4. Font

Set the font style, color, and size of the data labels.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FbcMX8wM1avdup1nyKAXG%2Fimage.png?alt=media&#x26;token=91f99e90-184b-4714-af6e-5c1cc5720fa9" alt=""><figcaption><p>Font customization</p></figcaption></figure>

#### 5. Background

Set a custom background color or disable the toggle if you do not want a background for the data labels.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FYpeMTFt0kpUVz1ERTSvX%2Fimage.png?alt=media&#x26;token=eec0bfd7-752a-4c7e-acb2-ac144d04f6d8" alt=""><figcaption><p>Data label background</p></figcaption></figure>

#### 6. Contrast color

When you enable the contrast color toggle, Analytics+ will set a font color that has maximum visibility against the chosen background.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2Fsq1F3q1At7PcKsU4FQc2%2Fimage.png?alt=media&#x26;token=8406c0a2-5735-4741-9e6a-265444a9abf7" alt=""><figcaption><p>Contrast color</p></figcaption></figure>

#### 7. Offset

Refine the position of your data labels by adjusting the x and y offset values.&#x20;

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FfNHoAbbBVBeDVjOWCi1s%2Fimage.png?alt=media&#x26;token=485e13b7-0303-4510-9f88-d86feab9b8b6" alt=""><figcaption><p>Offset</p></figcaption></figure>
