Menu
Grafana Cloud Enterprise Open source

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

PieChartPanelCfg

Maturity: experimental

Version: 0.0

PropertyTypeRequiredDefaultDescription
FieldConfigHideableFieldConfigYesTODO docs
OptionsobjectYes
PieChartLabelsstringYesSelect labels to display on the pie chart.
- Name - The series or field name.
- Percent - The percentage of the whole.
- Value - The raw numerical value.
Possible values are: name, value, percent.
PieChartLegendOptionsobjectYes
PieChartLegendValuesstringYesSelect values to display in the legend.
- Percent: The percentage of the whole.
- Value: The raw numerical value.
Possible values are: value, percent.
PieChartTypestringYesSelect the pie chart display style.
Possible values are: pie, donut.

HideableFieldConfig

TODO docs

PropertyTypeRequiredDefaultDescription
hideFromHideSeriesConfigNoTODO docs

HideSeriesConfig

TODO docs

PropertyTypeRequiredDefaultDescription
legendbooleanYes
tooltipbooleanYes
vizbooleanYes

Options

It extends OptionsWithTooltip and SingleStatBaseOptions.

PropertyTypeRequiredDefaultDescription
displayLabelsstring[]Yes
legendPieChartLegendOptionsYes
pieTypestringYesSelect the pie chart display style.
Possible values are: pie, donut.
tooltipVizTooltipOptionsYes(Inherited from OptionsWithTooltip)
TODO docs
orientationstringNo(Inherited from SingleStatBaseOptions)
TODO docs
Possible values are: auto, vertical, horizontal.
reduceOptionsReduceDataOptionsNo(Inherited from SingleStatBaseOptions)
TODO docs
textVizTextDisplayOptionsNo(Inherited from SingleStatBaseOptions)
TODO docs

OptionsWithTooltip

TODO docs

PropertyTypeRequiredDefaultDescription
tooltipVizTooltipOptionsYesTODO docs

VizTooltipOptions

TODO docs

PropertyTypeRequiredDefaultDescription
modestringYesTODO docs
Possible values are: single, multi, none.
sortstringYesTODO docs
Possible values are: asc, desc, none.
maxHeightnumberNo
maxWidthnumberNo

PieChartLegendOptions

It extends VizLegendOptions.

PropertyTypeRequiredDefaultDescription
calcsstring[]Yes(Inherited from VizLegendOptions)
displayModestringYes(Inherited from VizLegendOptions)
TODO docs
Note: “hidden” needs to remain as an option for plugins compatibility
Possible values are: list, table, hidden.
placementstringYes(Inherited from VizLegendOptions)
TODO docs
Possible values are: bottom, right.
showLegendbooleanYes(Inherited from VizLegendOptions)
valuesstring[]Yes
asTablebooleanNo(Inherited from VizLegendOptions)
isVisiblebooleanNo(Inherited from VizLegendOptions)
sortBystringNo(Inherited from VizLegendOptions)
sortDescbooleanNo(Inherited from VizLegendOptions)
widthnumberNo(Inherited from VizLegendOptions)

VizLegendOptions

TODO docs

PropertyTypeRequiredDefaultDescription
calcsstring[]Yes
displayModestringYesTODO docs
Note: “hidden” needs to remain as an option for plugins compatibility
Possible values are: list, table, hidden.
placementstringYesTODO docs
Possible values are: bottom, right.
showLegendbooleanYes
asTablebooleanNo
isVisiblebooleanNo
sortBystringNo
sortDescbooleanNo
widthnumberNo

ReduceDataOptions

TODO docs

PropertyTypeRequiredDefaultDescription
calcsstring[]YesWhen !values, pick one value for the whole field
fieldsstringNoWhich fields to show. By default this is only numeric fields
limitnumberNoif showing all values limit
valuesbooleanNoIf true show each row value

SingleStatBaseOptions

TODO docs

It extends OptionsWithTextFormatting.

PropertyTypeRequiredDefaultDescription
orientationstringYesTODO docs
Possible values are: auto, vertical, horizontal.
reduceOptionsReduceDataOptionsYesTODO docs
textVizTextDisplayOptionsNo(Inherited from OptionsWithTextFormatting)
TODO docs

OptionsWithTextFormatting

TODO docs

PropertyTypeRequiredDefaultDescription
textVizTextDisplayOptionsNoTODO docs

VizTextDisplayOptions

TODO docs

PropertyTypeRequiredDefaultDescription
titleSizenumberNoExplicit title text size
valueSizenumberNoExplicit value text size