mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Unit: Add SI prefix for empty unit (#79897)
* Unit: Add SI prefix for empty unit * Units: Change name from SI prefix to SI short
This commit is contained in:
parent
7730a38474
commit
43b186a52e
@ -45,6 +45,7 @@ export const getCategories = (): ValueFormatCategory[] => [
|
||||
id: 'short',
|
||||
fn: scaledUnits(1000, ['', ' K', ' Mil', ' Bil', ' Tri', ' Quadr', ' Quint', ' Sext', ' Sept']),
|
||||
},
|
||||
{ name: 'SI short', id: 'sishort', fn: SIPrefix('') },
|
||||
{ name: 'Percent (0-100)', id: 'percent', fn: toPercent },
|
||||
{ name: 'Percent (0.0-1.0)', id: 'percentunit', fn: toPercentUnit },
|
||||
{ name: 'Humidity (%H)', id: 'humidity', fn: toFixedUnit('%H') },
|
||||
|
Loading…
Reference in New Issue
Block a user