Menu
Grafana Cloud Enterprise Open source

Both documentation generation and kinds schemas are in active development and subject to change without prior notice.

TablePanelCfg

Maturity: experimental

Version: 0.0

PropertyTypeRequiredDefaultDescription
FieldConfigobjectYes
OptionsobjectYes

FieldConfig

PropertyTypeRequiredDefaultDescription
alignstringYesTODO – should not be table specific!
TODO docs
Possible values are: auto, left, right, center.
cellOptionsTableCellOptionsYesTable cell options. Each cell has a display mode
and other potential options for that display.
inspectbooleanYesfalse
displayModestringNoInternally, this is the “type” of cell that’s being displayed
in the table such as colored text, JSON, gauge, etc.
The color-background-solid, gradient-gauge, and lcd-gauge
modes are deprecated in favor of new cell subOptions
Possible values are: auto, color-text, color-background, color-background-solid, gradient-gauge, lcd-gauge, json-view, basic, image, gauge, sparkline, data-links, custom.
filterablebooleanNo
hiddenbooleanNo
hideHeaderbooleanNoHides any header for a column, useful for columns that show some static content or buttons.
minWidthnumberNo
widthnumberNo

TableCellOptions

Table cell options. Each cell has a display mode and other potential options for that display.

PropertyTypeRequiredDefaultDescription
objectPossible types are: TableAutoCellOptions, TableSparklineCellOptions, TableBarGaugeCellOptions, TableColoredBackgroundCellOptions, TableColorTextCellOptions, TableImageCellOptions, TableDataLinksCellOptions, TableJsonViewCellOptions.

GraphThresholdsStyleConfig

TODO docs

PropertyTypeRequiredDefaultDescription
modestringYesTODO docs
Possible values are: off, line, dashed, area, line+area, dashed+area, series.

HideSeriesConfig

TODO docs

PropertyTypeRequiredDefaultDescription
legendbooleanYes
tooltipbooleanYes
vizbooleanYes

LineStyle

TODO docs

PropertyTypeRequiredDefaultDescription
dashnumber[]No
fillstringNoPossible values are: solid, dash, dot, square.

ScaleDistributionConfig

TODO docs

PropertyTypeRequiredDefaultDescription
typestringYesTODO docs
Possible values are: linear, log, ordinal, symlog.
linearThresholdnumberNo
lognumberNo

StackingConfig

TODO docs

PropertyTypeRequiredDefaultDescription
groupstringNo
modestringNoTODO docs
Possible values are: none, normal, percent.

TableAutoCellOptions

Auto mode table cell options

PropertyTypeRequiredDefaultDescription
typestringYes

TableBarGaugeCellOptions

Gauge cell options

PropertyTypeRequiredDefaultDescription
typestringYes
modestringNoEnum expressing the possible display modes
for the bar gauge component of Grafana UI
Possible values are: basic, lcd, gradient.
valueDisplayModestringNoAllows for the table cell gauge display type to set the gauge mode.
Possible values are: color, text, hidden.

TableColorTextCellOptions

Colored text cell options

PropertyTypeRequiredDefaultDescription
typestringYes

TableColoredBackgroundCellOptions

Colored background cell options

PropertyTypeRequiredDefaultDescription
typestringYes
modestringNoDisplay mode to the “Colored Background” display
mode for table cells. Either displays a solid color (basic mode)
or a gradient.
Possible values are: basic, gradient.

TableDataLinksCellOptions

Show data links in the cell

PropertyTypeRequiredDefaultDescription
typestringYes

TableImageCellOptions

Json view cell options

PropertyTypeRequiredDefaultDescription
typestringYes

TableJsonViewCellOptions

Json view cell options

PropertyTypeRequiredDefaultDescription
typestringYes

TableSparklineCellOptions

Sparkline cell options

It extends GraphFieldConfig.

PropertyTypeRequiredDefaultDescription
typestringYes
axisBorderShowbooleanNo(Inherited from GraphFieldConfig)
axisCenteredZerobooleanNo(Inherited from GraphFieldConfig)
axisColorModestringNo(Inherited from GraphFieldConfig)
TODO docs
Possible values are: text, series.
axisGridShowbooleanNo(Inherited from GraphFieldConfig)
axisLabelstringNo(Inherited from GraphFieldConfig)
axisPlacementstringNo(Inherited from GraphFieldConfig)
TODO docs
Possible values are: auto, top, right, bottom, left, hidden.
axisSoftMaxnumberNo(Inherited from GraphFieldConfig)
axisSoftMinnumberNo(Inherited from GraphFieldConfig)
axisWidthnumberNo(Inherited from GraphFieldConfig)
barAlignmentintegerNo(Inherited from GraphFieldConfig)
TODO docs
Possible values are: -1, 0, 1.
barMaxWidthnumberNo(Inherited from GraphFieldConfig)
barWidthFactornumberNo(Inherited from GraphFieldConfig)
drawStylestringNo(Inherited from GraphFieldConfig)
TODO docs
Possible values are: line, bars, points.
fillBelowTostringNo(Inherited from GraphFieldConfig)
fillColorstringNo(Inherited from GraphFieldConfig)
fillOpacitynumberNo(Inherited from GraphFieldConfig)
gradientModestringNo(Inherited from GraphFieldConfig)
TODO docs
Possible values are: none, opacity, hue, scheme.
hideFromHideSeriesConfigNo(Inherited from GraphFieldConfig)
TODO docs
hideValuebooleanNo
lineColorstringNo(Inherited from GraphFieldConfig)
lineInterpolationstringNo(Inherited from GraphFieldConfig)
TODO docs
Possible values are: linear, smooth, stepBefore, stepAfter.
lineStyleLineStyleNo(Inherited from GraphFieldConfig)
TODO docs
lineWidthnumberNo(Inherited from GraphFieldConfig)
pointColorstringNo(Inherited from GraphFieldConfig)
pointSizenumberNo(Inherited from GraphFieldConfig)
pointSymbolstringNo(Inherited from GraphFieldConfig)
scaleDistributionScaleDistributionConfigNo(Inherited from GraphFieldConfig)
TODO docs
showPointsstringNo(Inherited from GraphFieldConfig)
TODO docs
Possible values are: auto, never, always.
spanNullsNo(Inherited from GraphFieldConfig)
Indicate if null values should be treated as gaps or connected.
When the value is a number, it represents the maximum delta in the
X axis that should be considered connected. For timeseries, this is milliseconds
stackingStackingConfigNo(Inherited from GraphFieldConfig)
TODO docs
thresholdsStyleGraphThresholdsStyleConfigNo(Inherited from GraphFieldConfig)
TODO docs
transformstringNo(Inherited from GraphFieldConfig)
TODO docs
Possible values are: constant, negative-Y.

GraphFieldConfig

TODO docs

It extends LineConfig and FillConfig and PointsConfig and AxisConfig and BarConfig and StackableFieldConfig and HideableFieldConfig.

PropertyTypeRequiredDefaultDescription
axisBorderShowbooleanNo(Inherited from AxisConfig)
axisCenteredZerobooleanNo(Inherited from AxisConfig)
axisColorModestringNo(Inherited from AxisConfig)
TODO docs
Possible values are: text, series.
axisGridShowbooleanNo(Inherited from AxisConfig)
axisLabelstringNo(Inherited from AxisConfig)
axisPlacementstringNo(Inherited from AxisConfig)
TODO docs
Possible values are: auto, top, right, bottom, left, hidden.
axisSoftMaxnumberNo(Inherited from AxisConfig)
axisSoftMinnumberNo(Inherited from AxisConfig)
axisWidthnumberNo(Inherited from AxisConfig)
barAlignmentintegerNo(Inherited from BarConfig)
TODO docs
Possible values are: -1, 0, 1.
barMaxWidthnumberNo(Inherited from BarConfig)
barWidthFactornumberNo(Inherited from BarConfig)
drawStylestringNoTODO docs
Possible values are: line, bars, points.
fillBelowTostringNo(Inherited from FillConfig)
fillColorstringNo(Inherited from FillConfig)
fillOpacitynumberNo(Inherited from FillConfig)
gradientModestringNoTODO docs
Possible values are: none, opacity, hue, scheme.
hideFromHideSeriesConfigNo(Inherited from HideableFieldConfig)
TODO docs
lineColorstringNo(Inherited from LineConfig)
lineInterpolationstringNo(Inherited from LineConfig)
TODO docs
Possible values are: linear, smooth, stepBefore, stepAfter.
lineStyleLineStyleNo(Inherited from LineConfig)
TODO docs
lineWidthnumberNo(Inherited from LineConfig)
pointColorstringNo(Inherited from PointsConfig)
pointSizenumberNo(Inherited from PointsConfig)
pointSymbolstringNo(Inherited from PointsConfig)
scaleDistributionScaleDistributionConfigNo(Inherited from AxisConfig)
TODO docs
showPointsstringNo(Inherited from PointsConfig)
TODO docs
Possible values are: auto, never, always.
spanNullsNo(Inherited from LineConfig)
Indicate if null values should be treated as gaps or connected.
When the value is a number, it represents the maximum delta in the
X axis that should be considered connected. For timeseries, this is milliseconds
stackingStackingConfigNo(Inherited from StackableFieldConfig)
TODO docs
thresholdsStyleGraphThresholdsStyleConfigNoTODO docs
transformstringNoTODO docs
Possible values are: constant, negative-Y.

AxisConfig

TODO docs

PropertyTypeRequiredDefaultDescription
axisBorderShowbooleanNo
axisCenteredZerobooleanNo
axisColorModestringNoTODO docs
Possible values are: text, series.
axisGridShowbooleanNo
axisLabelstringNo
axisPlacementstringNoTODO docs
Possible values are: auto, top, right, bottom, left, hidden.
axisSoftMaxnumberNo
axisSoftMinnumberNo
axisWidthnumberNo
scaleDistributionScaleDistributionConfigNoTODO docs

BarConfig

TODO docs

PropertyTypeRequiredDefaultDescription
barAlignmentintegerNoTODO docs
Possible values are: -1, 0, 1.
barMaxWidthnumberNo
barWidthFactornumberNo

FillConfig

TODO docs

PropertyTypeRequiredDefaultDescription
fillBelowTostringNo
fillColorstringNo
fillOpacitynumberNo

HideableFieldConfig

TODO docs

PropertyTypeRequiredDefaultDescription
hideFromHideSeriesConfigNoTODO docs

LineConfig

TODO docs

PropertyTypeRequiredDefaultDescription
lineColorstringNo
lineInterpolationstringNoTODO docs
Possible values are: linear, smooth, stepBefore, stepAfter.
lineStyleLineStyleNoTODO docs
lineWidthnumberNo
spanNullsNoIndicate if null values should be treated as gaps or connected.
When the value is a number, it represents the maximum delta in the
X axis that should be considered connected. For timeseries, this is milliseconds

PointsConfig

TODO docs

PropertyTypeRequiredDefaultDescription
pointColorstringNo
pointSizenumberNo
pointSymbolstringNo
showPointsstringNoTODO docs
Possible values are: auto, never, always.

StackableFieldConfig

TODO docs

PropertyTypeRequiredDefaultDescription
stackingStackingConfigNoTODO docs

Options

PropertyTypeRequiredDefaultDescription
frameIndexnumberYes0Represents the index of the selected frame
showHeaderbooleanYestrueControls whether the panel should show the header
cellHeightstringNoControls the height of the rows
footerobjectNomap[countRows:false reducer:[] show:false]Controls footer options
showTypeIconsbooleanNofalseControls whether the header should show icons for the column types
sortByTableSortByFieldState[]NoUsed to control row sorting

TableSortByFieldState

Sort by field state

PropertyTypeRequiredDefaultDescription
displayNamestringYesSets the display name of the field to sort by
descbooleanNoFlag used to indicate descending sort order

Controls footer options

PropertyTypeRequiredDefaultDescription
objectPossible types are: , .