Skip to main content

Heatmap

Overview

Heatmap Heatmap is a type of data visualization where information is represented as rectangular areas of different colors. Each area corresponds to a different category, and its color represents the quantitative value in that category. A Heatmap is typically used to display quantitative values of different categories in color.

Settings

General

In the General tab, you can set the following parameters:

SettingDescriptionJSON-field
Show scroll barA switch to enable or disable the display of an overview scale of the entire visualization, allowing you to select a specific section of the visualization for detailed viewing.general.showScrollBar
Show vertical scroll barA switch to enable or disable the display of an overview scale of the entire visualization vertically, allowing you to select a specific section of the visualization for detailed viewing.general.showScrollBarY
Display margins between elementsSwitch to enable or disable indents separating Heatmap elements.general.enableSpace

Search Anywhere Framework general settings window:

X-Axis

In the X-Axis tab, you can set the following parameters:

SettingDescriptionJSON-field
TitleText field that allows you to specify the name of the X-Axisxaxis.title
FieldSelection that allows you to choose the data field for the X-Axis.xaxis.field
Label rotationSelection to set the rotation of the X-Axis name. Useful if the X-axis name is too long.xaxis.labelRotation
Truncate labelA switch that allows you to enable or disable the truncation of the X-Axis name. Useful if the X-Axis name is too long.xaxis.truncate

Search Anywhere Framework X-Axis settings window:

Y-Axis

In the Y-Axis tab, you can set the following parameters:

SettingDescriptionJSON-field
TitleA text field that allows you to specify the name of the Y-Axis.yaxis.title
FieldSelection that allows you to choose the data field for the Y-Axis.yaxis.field

Search Anywhere Framework Y-Axis settings window:

Legend

In the Legend tab, you can set the following parameters:

SettingDescriptionJSON-field
Enable legendA switch to enable or disable the legend display.legend.enabled
Legend positionA seletion that allows you to specify the location of the legend. Available values: Left, Right, Bottom and Top.legend.position

Search Anywhere Framework legend settings window:

Color

In the Color tab, you can set the following parameters:

SettingDescriptionJSON-field
FieldA selection that allows you to choose the field on which the coloring will take place.color.field
TypeColor method selection. Options for selecting Minimum-Maximum and Intervals are available.color.type

When you select a coloring with the Minimum-Maximum type, the following settings will be available:

SettingDescriptionJSON-field
Minimum colorColor selection for the minimum value.color.minColor
Maximum colorColor selection for the maximum value.color.maxColor

If you select a coloring with the Intervals type, you can specify the color by a range of values. To do this, press the + button near Colors field, then specify the parameters for the series.

SettingDescriptionJSON-field
Upper limit of the rangeNumeric input to specify the upper boundary of the interval.color.intervals[0].to
ColorColor selection.color.intervals[0].color

Search Anywhere Framework color Minimum-Maximum settings window:

Search Anywhere Framework color Intervals settings window:

Heatmap creation

Creating a heatmap is possible when used in a query that returns data with categories and with numeric values.

For example, the results of a query that returns data with categories and a numeric value:

source windows_events
| aggs count(event.outcome) by user.name, event.code

you can display a Heatmap by selecting the appropriate type from the Visualization tab on the search page.

Heatmap Results

The diagram can then be used immediately on the dashboard by clicking the Add to dashboard button.