grafana/public/app/plugins/panel/stat
Jev Forsberg 93bcc3b26c
Stat Panel: Add an option for a non-gradient/solid background (#65052)
* baldm0mma/statNoGrad/ add no gradient option

* baldm0mma/statsNoGrad/ update migration and tests

* baldm0mma/statsNoGrad/ update suggestions module

* baldm0mma/statsNoGrad/ update bigValueLayout test

* baldm0mma/statNoGrad/ remove unused comment

* baldm0mma/statNoGrad/ revert to background

* baldm0mma/statNoGrad/ update enum values
2023-03-20 11:13:27 -06: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 Stat Panel: Add an option for a non-gradient/solid background (#65052) 2023-03-20 11:13:27 -06:00
panelcfg.cue Revert "Stat: Add ability to remove default single-color background gradient" (#65002) 2023-03-20 14:17:51 +01:00
panelcfg.gen.ts Revert "Stat: Add ability to remove default single-color background gradient" (#65002) 2023-03-20 14:17:51 +01:00
plugin.json TimeSeries: Make timeseries the default panel and remove beta state (#33639) 2021-05-05 13:19:14 +02:00
README.md Stat panel: Update out-of-date README (#63160) 2023-02-22 14:12:00 -07:00
StatMigrations.test.ts Chore: more ts test fixes (#63438) 2023-02-23 10:07:44 +00:00
StatMigrations.ts Kindsys: Unique names for composable kind TS types (#61928) 2023-01-23 18:03:44 +00:00
StatPanel.tsx Revert "Stat: Add ability to remove default single-color background gradient" (#65002) 2023-03-20 14:17:51 +01:00
suggestions.ts Kindsys: Unique names for composable kind TS types (#61928) 2023-01-23 18:03:44 +00: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. Learn more about the now removed Singlestat panel here.

Read more about Stat panel on the docs page:

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