# 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="/files/LGawbMmRTSVNGdSTesxO" 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="/files/K1Urcxr9nWd5BTMvoPpp" alt=""><figcaption><p>Outside left</p></figcaption></figure> <figure><img src="/files/xhY6627HegsIoZJudA61" alt=""><figcaption><p>Outside right</p></figcaption></figure> <figure><img src="/files/GFCRp3WTj7qP85IfkRGM" alt=""><figcaption><p>Inside left</p></figcaption></figure> <figure><img src="/files/12E5DNuRqL0ABqruNuf2" alt=""><figcaption><p>Inside center</p></figcaption></figure> <figure><img src="/files/6Mgcet21FNKxIAP7UqSU" 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="/files/XEUr0ICKQOQ1Qwai1fNb" alt=""><figcaption><p>Data label based on end date</p></figcaption></figure> <figure><img src="/files/vtlkqQ7MqgvblK68gHvD" 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="/files/SdS4qNIu54UTt7sVdTrC" 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="/files/4oF8r9ZNL65FG392T1lE" 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="/files/jmcZwYd9lLMGJmQZSYIk" 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="/files/U1qPHdSPxVVVibtY7ArB" alt=""><figcaption><p>Offset</p></figcaption></figure>


---

# 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://docs.inforiver.com/analytics+/gantt-chart/gantt-data-label-settings.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.
