grafana/public/app/plugins/panel/stat
sam boyer 323cbe1997
kindsys: Adapt to new flattened lineage syntax in Thema (#68034)
* Update all core kinds to flattened lineages

* Regen Go types, without any

* Regen Go types, s/interface{}/any/

* Update generated core typescript

* Update generate docs

* Fix defaults gen in veneer index jenny

* Flatten plugindef lineage

* Convert all plugin kinds to flattened form

* Switch back to interface{} for now

* Switch to fs.Sub in plugin DeclParser

* Mostly undesirable codegen changes, to be fixed

* Update mod and sum

* Update pfs tests to flattened lineages

* Update thema to latest, regen docs
2023-05-24 10:47:25 +02:00
..
img Panels: Update panel logos (#23964) 2020-04-27 22:08:43 +02:00
common.ts Chore: some type fixes (#59030) 2022-11-29 15:52:08 +00:00
module.tsx kindsys: Adapt to new PanelCfg schema interface (#65297) 2023-05-15 23:07:54 -04:00
panelcfg.cue kindsys: Adapt to new flattened lineage syntax in Thema (#68034) 2023-05-24 10:47:25 +02:00
panelcfg.gen.ts kindsys: Adapt to new PanelCfg schema interface (#65297) 2023-05-15 23:07:54 -04:00
plugin.json TimeSeries: Make timeseries the default panel and remove beta state (#33639) 2021-05-05 13:19:14 +02:00
README.md docs: remove confusing singlestat references (#66399) 2023-04-19 15:42:23 +02:00
StatMigrations.test.ts Chore: more ts test fixes (#63438) 2023-02-23 10:07:44 +00:00
StatMigrations.ts kindsys: Adapt to new PanelCfg schema interface (#65297) 2023-05-15 23:07:54 -04:00
StatPanel.tsx kindsys: Adapt to new PanelCfg schema interface (#65297) 2023-05-15 23:07:54 -04:00
suggestions.ts kindsys: Adapt to new PanelCfg schema interface (#65297) 2023-05-15 23:07:54 -04:00

Stat panel - Native Plugin

The Stat panel is included with Grafana.

The Stat panel visualization shows one large statistic with an optional graph sparkline. The background or value color can be controlled using thresholds.

By default, the Stat panel displays one of the following:

  • The value for a single series or field.
  • The value and name for multiple series or fields.

The Text mode can be used to control whether the text is displayed or not.

The Stat panel is a replacement for the Singlestat panel, which was deprecated in Grafana v7.0 and removed in Grafana v8.4.

Read more about Stat panel on the docs page:

https://grafana.com/docs/grafana/latest/panels-visualizations/visualizations/stat/