Docs: update visualization naming conventions (#74770)
* Fixed naming conventions for several visualizations * Fixed naming conventions * Fixed a missed refernce * Apply suggestions from code review Co-authored-by: Nathan Marrs <nathanielmarrs@gmail.com> * Fixed prettier linting error --------- Co-authored-by: Nathan Marrs <nathanielmarrs@gmail.com>
This commit is contained in:
@@ -21,15 +21,15 @@ weight: 100
|
||||
|
||||
# Stat
|
||||
|
||||
The Stat panel visualization shows a one large stat value with an optional graph sparkline. You can control the background or value color using thresholds or overrides.
|
||||
Stats show one large stat value with an optional graph sparkline. You can control the background or value color using thresholds or overrides.
|
||||
|
||||
{{< figure src="/static/img/docs/v66/stat_panel_dark3.png" max-width="1025px" caption="Stat panel" >}}
|
||||
{{< figure src="/static/img/docs/v66/stat_panel_dark3.png" max-width="1025px" caption="Stat visualization" >}}
|
||||
|
||||
{{% admonition type="note" %}}
|
||||
This panel replaces the Singlestat panel, which was deprecated in Grafana 7.0 and removed in Grafana 8.0.
|
||||
This visualization replaces the Singlestat visualization, which was deprecated in Grafana 7.0 and removed in Grafana 8.0.
|
||||
{{% /admonition %}}
|
||||
|
||||
By default, the Stat panel displays one of the following:
|
||||
By default, a stat displays one of the following:
|
||||
|
||||
- Just the value for a single series or field.
|
||||
- Both the value and name for multiple series or fields.
|
||||
@@ -38,7 +38,7 @@ You can use the **Text mode** to control how the text is displayed.
|
||||
|
||||
Example screenshot:
|
||||
|
||||
{{< figure src="/static/img/docs/v71/stat-panel-text-modes.png" max-width="1025px" caption="Stat panel" >}}
|
||||
{{< figure src="/static/img/docs/v71/stat-panel-text-modes.png" max-width="1025px" caption="Stat visualization" >}}
|
||||
|
||||
## Automatic layout adjustment
|
||||
|
||||
@@ -57,14 +57,14 @@ Display a single value per column or series, or show values for each row.
|
||||
Display a calculated value based on all rows.
|
||||
|
||||
- **Calculation -** Select a reducer function that Grafana will use to reduce many fields to a single value. For a list of available calculations, refer to [Calculation types][].
|
||||
- **Fields -** Select the fields display in the panel.
|
||||
- **Fields -** Select the fields display in the visualization.
|
||||
|
||||
#### All values
|
||||
|
||||
Show a separate stat for every row. If you select this option, then you can also limit the number of rows to display.
|
||||
|
||||
- **Limit -** The maximum number of rows to display. Default is 5,000.
|
||||
- **Fields -** Select the fields display in the panel.
|
||||
- **Fields -** Select the fields display in the visualization.
|
||||
|
||||
## Stat styles
|
||||
|
||||
@@ -80,7 +80,7 @@ Choose a stacking direction.
|
||||
|
||||
### Text mode
|
||||
|
||||
You can use the Text mode option to control what text the panel renders. If the value is not important, only the name and color is, then change the **Text mode** to **Name**. The value will still be used to determine color and is displayed in a tooltip.
|
||||
You can use the Text mode option to control what text the visualization renders. If the value is not important, only the name and color is, then change the **Text mode** to **Name**. The value will still be used to determine color and is displayed in a tooltip.
|
||||
|
||||
- **Auto -** If the data contains multiple series or fields, show both name and value.
|
||||
- **Value -** Show only value, never name. Name is displayed in the hover tooltip instead.
|
||||
@@ -99,7 +99,7 @@ Select a color mode.
|
||||
|
||||
### Graph mode
|
||||
|
||||
Select a graph and splarkline mode.
|
||||
Select a graph and sparkline mode.
|
||||
|
||||
- **None -** Hides the graph and only shows the value.
|
||||
- **Area -** Shows the area graph below the value. This requires that your query returns a time column.
|
||||
|
||||
Reference in New Issue
Block a user