mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Docs: Fixed formatting issue in new stat docs (#22390)
* Docs: Fixed formatting issue in new stat docs * Fixed newline
This commit is contained in:
parent
3de625ef8e
commit
7946eee389
@ -66,19 +66,6 @@ Sparklines are a great way of seeing the historical data related to the summary
|
||||
|
||||
> ***Pro-tip:*** Reduce the opacity on fill colors for nice looking panels.
|
||||
|
||||
### Gauge
|
||||
|
||||
Gauges gives a clear picture of how high a value is in it's context. It's a great way to see if a value is close to the thresholds. The gauge uses the colors set in the color options.
|
||||
|
||||
{{< docs-imagebox img="/img/docs/v45/singlestat-gauge-options.png" max-width="500px" class="docs-image--right docs-image--no-shadow">}}
|
||||
|
||||
1. **Show**: The show checkbox will toggle whether the gauge is shown in the panel. When unselected, only the Singlestat value will appear.
|
||||
2. **Min/Max**: This sets the start and end point for the gauge.
|
||||
3. **Threshold Labels**: Check if you want to show the threshold labels. Thresholds are set in the color options.
|
||||
4. **Threshold Markers**: Check if you want to have a second meter showing the thresholds.
|
||||
|
||||
<div class="clearfix"></div>
|
||||
|
||||
### Value/Range to text mapping
|
||||
|
||||
{{< docs-imagebox img="/img/docs/v45/singlestat-value-mapping.png" class="docs-image--right docs-image--no-shadow">}}
|
||||
@ -106,3 +93,9 @@ To fix your singlestat panel:
|
||||
|
||||
- Do you have one query?
|
||||
- Solution: This likely means your query is returning multiple series. You will want to reduce this down to a single series. This can be accomplished in many ways, depending on your data source. Some common practices include summing the series, averaging or any number of other functions. Consult the documentation for your data source for additional information.
|
||||
|
||||
### Gauge
|
||||
|
||||
The Gauge feature in this panel is deprecated, please use the new [Gauge panel]({{< relref
|
||||
"../../features/panels/gauge.md" >}}) instead.
|
||||
|
||||
|
@ -23,9 +23,8 @@ background or value color using thresholds.
|
||||
* Specify calculation / reducer function. Since this panel is designed to only show a single value Grafana needs to
|
||||
know how to reduce a fields many values to a single value.
|
||||
* Orientation
|
||||
* If your query returns multiple series or you have set **Show** to `All values` then the visualization
|
||||
will repeat for every series or row. This orientation option will control in what direction it will repeat.
|
||||
** Color
|
||||
* If your query returns multiple series or you have set **Show** to `All values` then the visualization will repeat for every series or row. This orientation option will control in what direction it will repeat.
|
||||
* Color
|
||||
* `Value` - Color the value and graph area only.
|
||||
* `Background` - Color the background.
|
||||
** Graph
|
||||
|
Loading…
Reference in New Issue
Block a user