> For the complete documentation index, see [llms.txt](https://docs.appfarm.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.appfarm.io/library/ui-components/advanced-heatmap-chart.md).

# Advanced heatmap chart

The Advanced Heatmap Chart displays data two-dimensional where the values are represented through variations of colors (color-coding). The different sets of categories are denoted with rows and columns.

## Usage

Advanced Heatmap Charts are used to visualize density or hot spots within datasets.

{% hint style="info" %}
Showroom: [Advanced Heatmap Charts example](https://showroom.appfarm.app/ui-components/advanced-heat-map), with its setup in Appfarm Create ([register](https://showroom.appfarm.app/sign-up) for access).
{% endhint %}

## Properties

| Property                | Description                                                                                                                                                                                                                                              |
| ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Data source**         | Select a data source to display as a chart.                                                                                                                                                                                                              |
| **Filter**              | Apply a filter to the selected data source.                                                                                                                                                                                                              |
| **Conditional filters** | Create conditional filters to apply to the selected data source.                                                                                                                                                                                         |
| **X Value**             | Select a property of data type Enum, Integer, Float or Duration to display as value on the X Axis.                                                                                                                                                       |
| **Y Value**             | Select a property of data type Enum, Integer, Float or Duration to display as value on the Y Axis.                                                                                                                                                       |
| **Value property**      | Select the property that holds the value of each cell. Values are not aggregated: each object is drawn as its own cell, so objects with the same X and Y values are drawn on top of each other.                                                          |
| **Color**               | Define a custom color for the heatmap.                                                                                                                                                                                                                   |
| **Title**               | Enter a static title or bind it to a data source, function, date now or date today.                                                                                                                                                                      |
| **Subtitle**            | Enter a static title or bind it to a data source, function, date now or date today.                                                                                                                                                                      |
| **Show legend**         | Enable to show a legend.                                                                                                                                                                                                                                 |
| **Legend position**     | <p>Visible when <strong>Show legend</strong> is enabled.</p><p>Position the legend on the top, left, bottom or right side of the chart.</p>                                                                                                              |
| **Disable animation**   | Enable to stop animation of the chart.                                                                                                                                                                                                                   |
| **Zoom type**           | Define if the X Axis, Y Axis or both should be zoomable. By default, None is selected.                                                                                                                                                                   |
| **Show data labels**    | Enable to show data labels above each data point.                                                                                                                                                                                                        |
| **Label decimals**      | <p>Visible when <strong>Show data labels</strong> is enabled.</p><p>Define decimals to override the number of decimals shown in the data labels.</p>                                                                                                     |
| **No hover**            | Enable to turn off hover effects, tooltips and click events on the chart's series. **On series click** then no longer runs.                                                                                                                              |
| **Tooltip decimals**    | Define decimals to override the number of decimals shown for the value of the Y Axis in the tooltip.                                                                                                                                                     |
| **Invert axes**         | Enable to invert both X Axis and Y Axis with each other.                                                                                                                                                                                                 |
| **Axis title**          | Enter a static title or bind it to a data source, function, date now or date today.                                                                                                                                                                      |
| **Axis type**           | Select a type for the axis: Auto, Linear, Logarithmic, Datetime or Category.                                                                                                                                                                             |
| **Tick interval**       | Set an interval for ticks on the axis. If the interval is too dense to be displayed, some ticks will be removed automatically. Note that axes with data type Datetime are based on milliseconds.                                                         |
| **Min value**           | Define the minimum value on the axis. If no value is set, it will automatically adjust to data.                                                                                                                                                          |
| **Max value**           | Define the maximum value on the axis. If no value is set, it will automatically adjust to data.                                                                                                                                                          |
| **Grid lines**          | Enable to show grid lines on the axis.                                                                                                                                                                                                                   |
| **Crosshair**           | Enable a crosshair on the axis.                                                                                                                                                                                                                          |
| **Hide axis**           | Enable to hide the axis.                                                                                                                                                                                                                                 |
| **Reverse axis**        | Enable to reverse the axis in order to display the values from highest to lowest.                                                                                                                                                                        |
| **Place opposite**      | Enable to place the axis on the opposite side of the chart.                                                                                                                                                                                              |
| **Threshold lines**     | Add plot threshold indicators by defining a name, visibility, type (line or band), start value and color.                                                                                                                                                |
| **Event handlers**      | Add an **On series click** action to run when a data series is clicked. See [Understand charts](https://docs.appfarm.io/how-to/user-interface/understand-charts.md#respond-to-clicks-with-on-series-click) for the available action params and behavior. |

The axis settings, from **Axis title** to **Threshold lines**, appear twice in Create: once under **Category axis (X)** and once under **Value axis (Y)**. Each axis has its own settings.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.appfarm.io/library/ui-components/advanced-heatmap-chart.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
