# Data Labels

In Powerviz, data labels in a heatmap display exact numerical or categorical values within or near each cell, enhancing readability and providing precise context. They can be customized in appearance and are updated dynamically with the data, aiding in detailed analysis and decision-making.

### General Settings

Display Style

* Value: Displays the data value in each cell of the heatmap.
* Category: To show categories, add the field to the data label bucket.
* Category Value: To show both the category and value, add the field to the data label bucket.
* Auto Fit Label:  Enable this setting to apply auto fit label settings based on availabel space.
* Character Limit: Enable this setting to specify a manual character limit for labels.

### Label Style Settings

* Auto Font Size: Disable this option to set a custom font size for your labels.
* Font Family: Choose the font family for the text in your labels.

### Styling

* Apply text styling options: Bold, Italic, Underline.

### Text Color Type

* Auto: The text color will adapt based on the background color.
* Match Data: The text color will match the data color and adjust the background color.
* Fixed: Choose a fixed color for the text.
* Background Color: For both Auto and Fixed options, you can also add a shadow or a background color in a rectangular shape.\
  \ <br>

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

Example

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

<br>


---

# 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.powerviz.ai/powerviz/heatmap/advanced-settings-introduction/data-labels.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.
