grafana/public/app/plugins/panel/stat
Jev Forsberg de901560d7
Stat: Add ability to remove default single-color background gradient (#64353)
* baldm0mma/feature/solidOption/ update cue and ts types

* baldm0mma/feature/solidOption/ update data structures

* baldm0mma/feature/solidOption/ vizrepeater investigation

* baldm0mma/feature/solidOption/ add buildGradientBackground

* baldm0mma/feature/solidOption/ remove conlogs from fieldDisplay.ts

* baldm0mma/feature/solidOption/ rem destruct in fielddisplay.ts

* baldm0mma/feature/solidOption/ rem conlogs from bivaluelayout.tsx

* baldm0mma/feature/solidOption/ rem conlogs in visrepeater

* baldm0mma/feature/solidOption/ rem conlogs from statpanel.tsx

* baldm0mma/feature/solidOption/ add annotations in BigValue.tsx

* baldm0mma/feature/solidOption/ update cue

* baldm0mma/feature/solidOption/ remove unused anno

* baldm0mma/feature/solidOption/ update with toggle conditinal

* Update module.tsx

update anno

* baldm0mma/feature/solidOption/ update annos

* baldm0mma/feature/solidOption/ undo change

* baldm0mma/featurew/solidOption/ add anno for boolean toggle in stat module

* baldm0mma/featurew/solidOption/ update anno in BigValue.tsx for hasGradient

* baldm0mma/featurew/solidOption/ updart default logic in bigValueLayout.tsx
2023-03-14 08:59:54 -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: Add ability to remove default single-color background gradient (#64353) 2023-03-14 08:59:54 -06:00
panelcfg.cue Stat: Add ability to remove default single-color background gradient (#64353) 2023-03-14 08:59:54 -06:00
panelcfg.gen.ts Stat: Add ability to remove default single-color background gradient (#64353) 2023-03-14 08:59:54 -06: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 Stat: Add ability to remove default single-color background gradient (#64353) 2023-03-14 08:59:54 -06: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/