> For the complete documentation index, see [llms.txt](https://docs.powerviz.ai/powerviz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.powerviz.ai/powerviz/heatmap/advanced-settings-introduction/data-labels.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.powerviz.ai/powerviz/heatmap/advanced-settings-introduction/data-labels.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
