mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
22 KiB
22 KiB
keywords, labels, title
| keywords | labels | title | |||||||
|---|---|---|---|---|---|---|---|---|---|
|
|
HeatmapPanelCfg kind |
Both documentation generation and kinds schemas are in active development and subject to change without prior notice.
HeatmapPanelCfg
Maturity: merged
Version: 0.0
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
CellValues |
object | Yes | Controls cell value options | |
ExemplarConfig |
object | Yes | Controls exemplar options | |
FieldConfig |
object | Yes | ||
FilterValueRange |
object | Yes | Controls the value filter range | |
HeatmapColorMode |
string | Yes | Controls the color mode of the heatmap Possible values are: opacity, scheme. |
|
HeatmapColorOptions |
object | Yes | Controls various color options | |
HeatmapColorScale |
string | Yes | Controls the color scale of the heatmap Possible values are: linear, exponential. |
|
HeatmapLegend |
object | Yes | Controls legend options | |
HeatmapTooltip |
object | Yes | Controls tooltip options | |
Options |
object | Yes | ||
RowsHeatmapOptions |
object | Yes | Controls frame rows options | |
YAxisConfig |
object | Yes | Configuration options for the yAxis |
CellValues
Controls cell value options
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
decimals |
number | No | Controls the number of decimals for cell values | |
unit |
string | No | Controls the cell value unit |
ExemplarConfig
Controls exemplar options
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
color |
string | Yes | Sets the color of the exemplar markers |
FieldConfig
It extends HideableFieldConfig.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
hideFrom |
HideSeriesConfig | No | (Inherited from HideableFieldConfig) TODO docs |
|
scaleDistribution |
ScaleDistributionConfig | No | TODO docs |
HideSeriesConfig
TODO docs
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
legend |
boolean | Yes | ||
tooltip |
boolean | Yes | ||
viz |
boolean | Yes |
HideableFieldConfig
TODO docs
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
hideFrom |
HideSeriesConfig | No | TODO docs |
ScaleDistributionConfig
TODO docs
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
type |
string | Yes | TODO docs Possible values are: linear, log, ordinal, symlog. |
|
linearThreshold |
number | No | ||
log |
number | No |
FilterValueRange
Controls the value filter range
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
ge |
number | No | Sets the filter range to values greater than or equal to the given value | |
le |
number | No | Sets the filter range to values less than or equal to the given value |
HeatmapColorOptions
Controls various color options
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
exponent |
number | Yes | Controls the exponent when scale is set to exponential | |
fill |
string | Yes | Controls the color fill when in opacity mode | |
reverse |
boolean | Yes | Reverses the color scheme | |
scheme |
string | Yes | Controls the color scheme used | |
steps |
integer | Yes | Controls the number of color steps Constraint: >=2 & <=128. |
|
max |
number | No | Sets the maximum value for the color scale | |
min |
number | No | Sets the minimum value for the color scale | |
mode |
string | No | Controls the color mode of the heatmap Possible values are: opacity, scheme. |
|
scale |
string | No | Controls the color scale of the heatmap Possible values are: linear, exponential. |
HeatmapLegend
Controls legend options
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
show |
boolean | Yes | Controls if the legend is shown |
HeatmapTooltip
Controls tooltip options
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
show |
boolean | Yes | Controls if the tooltip is shown | |
yHistogram |
boolean | No | Controls if the tooltip shows a histogram of the y-axis values |
Options
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
color |
object | Yes | map[exponent:0.5 fill:dark-orange reverse:false scheme:Oranges steps:64] |
Controls the color options |
exemplars |
ExemplarConfig | Yes | Controls exemplar options | |
legend |
HeatmapLegend | Yes | Controls legend options | |
showValue |
string | Yes | | *{ layout: ui.HeatmapCellLayout & "auto" // TODO: fix after remove when https://github.com/grafana/cuetsy/issues/74 is fixed } Controls the display of the value in the cell |
|
tooltip |
HeatmapTooltip | Yes | Controls tooltip options | |
yAxis |
YAxisConfig | Yes | Configuration options for the yAxis | |
calculate |
boolean | No | false |
Controls if the heatmap should be calculated from data |
calculation |
HeatmapCalculationOptions | No | ||
cellGap |
integer | No | 1 |
Controls gap between cells Constraint: >=0 & <=25. |
cellRadius |
number | No | Controls cell radius | |
cellValues |
object | No | map[] |
Controls cell value unit |
filterValues |
object | No | map[le:1e-09] |
Filters values between a given range |
rowsFrame |
RowsHeatmapOptions | No | Controls frame rows options |
HeatmapCalculationOptions
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
xBuckets |
HeatmapCalculationBucketConfig | No | ||
yBuckets |
HeatmapCalculationBucketConfig | No |
HeatmapCalculationBucketConfig
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
mode |
string | No | Possible values are: size, count. |
|
scale |
ScaleDistributionConfig | No | TODO docs | |
value |
string | No | The number of buckets to use for the axis in the heatmap |
RowsHeatmapOptions
Controls frame rows options
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
layout |
string | No | Possible values are: le, ge, unknown, auto. |
|
value |
string | No | Sets the name of the cell when not calculating from data |
YAxisConfig
Configuration options for the yAxis
It extends AxisConfig.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
axisBorderShow |
boolean | No | (Inherited from AxisConfig) | |
axisCenteredZero |
boolean | No | (Inherited from AxisConfig) | |
axisColorMode |
string | No | (Inherited from AxisConfig) TODO docs Possible values are: text, series. |
|
axisGridShow |
boolean | No | (Inherited from AxisConfig) | |
axisLabel |
string | No | (Inherited from AxisConfig) | |
axisPlacement |
string | No | (Inherited from AxisConfig) TODO docs Possible values are: auto, top, right, bottom, left, hidden. |
|
axisSoftMax |
number | No | (Inherited from AxisConfig) | |
axisSoftMin |
number | No | (Inherited from AxisConfig) | |
axisWidth |
number | No | (Inherited from AxisConfig) | |
decimals |
number | No | Controls the number of decimals for yAxis values | |
max |
number | No | Sets the maximum value for the yAxis | |
min |
number | No | Sets the minimum value for the yAxis | |
reverse |
boolean | No | Reverses the yAxis | |
scaleDistribution |
ScaleDistributionConfig | No | (Inherited from AxisConfig) TODO docs |
|
unit |
string | No | Sets the yAxis unit |
AxisConfig
TODO docs
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
axisBorderShow |
boolean | No | ||
axisCenteredZero |
boolean | No | ||
axisColorMode |
string | No | TODO docs Possible values are: text, series. |
|
axisGridShow |
boolean | No | ||
axisLabel |
string | No | ||
axisPlacement |
string | No | TODO docs Possible values are: auto, top, right, bottom, left, hidden. |
|
axisSoftMax |
number | No | ||
axisSoftMin |
number | No | ||
axisWidth |
number | No | ||
scaleDistribution |
ScaleDistributionConfig | No | TODO docs |
CellValues
Controls cell value unit
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
object |
Possible types are: , . |
Color
Controls the color options
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
object |
Possible types are: , . |
FilterValues
Filters values between a given range
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
object |
Possible types are: , . |