Docs: add unit scaling clarification (#85830)

* Added unit scaling information

* Edited
This commit is contained in:
Isabel Matwawana
2024-04-10 09:11:59 -04:00
committed by GitHub
parent c650b016e4
commit d666b92317

View File

@@ -84,6 +84,10 @@ You can also paste a native emoji in the **Unit** drop-down and select it as a c
![A time series visualization using custom thumbs up emoji units](/media/docs/grafana/panels-visualizations/thumbsup_panel_v11.0.png) ![A time series visualization using custom thumbs up emoji units](/media/docs/grafana/panels-visualizations/thumbsup_panel_v11.0.png)
#### Control unit scaling
By default, Grafana automatically scales the unit based on the magnitude of the value. For example, if you have values of 0.14kW and 3000kW, Grafana displays them as 140W and 3MW, respectively. You can use custom units to control this behavior by setting a prefix, suffix, or custom SI unit.
#### String units #### String units
Sometimes Grafana is too aggressive in interpreting strings and displaying them as numbers. To configure Grafana to show the original string value, select **Misc > String** in the **Unit** drop-down. Sometimes Grafana is too aggressive in interpreting strings and displaying them as numbers. To configure Grafana to show the original string value, select **Misc > String** in the **Unit** drop-down.