Table Panel: Add docs for text wrapping (#88949)

Add docs for text wrapping
This commit is contained in:
Kyle Cunningham 2024-06-07 15:51:09 -05:00 committed by GitHub
parent 22989acf95
commit e1530224dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -118,12 +118,20 @@ By default, Grafana automatically chooses display settings. You can override the
If you set these in the Field tab, then the type will apply to all fields, including the time field. Many options will work best if you set them in the Override tab so that they can be restricted to one or more fields. If you set these in the Field tab, then the type will apply to all fields, including the time field. Many options will work best if you set them in the Override tab so that they can be restricted to one or more fields.
{{% /admonition %}} {{% /admonition %}}
### Auto
The Auto cell type will automatically display values with sensible defaults applied.
Toggle the **Wrap text** switch, to wrap text in the cell with the longest content or the matched field in the case of field overrides.
### Color text ### Color text
If thresholds are set, then the field text is displayed in the appropriate threshold color. If thresholds are set, then the field text is displayed in the appropriate threshold color.
{{< figure src="/static/img/docs/tables/color-text.png" max-width="500px" caption="Color text" class="docs-image--no-shadow" >}} {{< figure src="/static/img/docs/tables/color-text.png" max-width="500px" caption="Color text" class="docs-image--no-shadow" >}}
Toggle the **Wrap text** switch, to wrap text in the cell with the longest content or the matched field in the case of field overrides.
### Color background (gradient or solid) ### Color background (gradient or solid)
If thresholds are set, then the field background is displayed in the appropriate threshold color. If thresholds are set, then the field background is displayed in the appropriate threshold color.
@ -134,6 +142,8 @@ Toggle the **Apply to entire row** switch, to apply the background color that's
{{< figure src="/static/img/docs/tables/colored-rows.png" max-width="500px" alt="Colored row background" class="docs-image--no-shadow" >}} {{< figure src="/static/img/docs/tables/colored-rows.png" max-width="500px" alt="Colored row background" class="docs-image--no-shadow" >}}
Toggle the **Wrap text** switch, to wrap text in the cell with the longest content or the matched field in the case of field overrides.
### Gauge ### Gauge
Cells can be displayed as a graphical gauge, with several different presentation types. Cells can be displayed as a graphical gauge, with several different presentation types.