mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
units: adds back velocity units. Fixes #14851
This commit is contained in:
parent
db448b5d53
commit
1fea09ba54
@ -299,6 +299,15 @@ export const getCategories = (): ValueFormatCategory[] => [
|
|||||||
{ name: 'writes/min (wpm)', id: 'wpm', fn: simpleCountUnit('wpm') },
|
{ name: 'writes/min (wpm)', id: 'wpm', fn: simpleCountUnit('wpm') },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'velocity',
|
||||||
|
formats: [
|
||||||
|
{ name: 'metres/second (m/s)', id: 'velocityms', fn: toFixedUnit('m/s') },
|
||||||
|
{ name: 'kilometers/hour (km/h)', id: 'velocitykmh', fn: toFixedUnit('km/h') },
|
||||||
|
{ name: 'miles/hour (mph)', id: 'velocitymph', fn: toFixedUnit('mph') },
|
||||||
|
{ name: 'knot (kn)', id: 'velocityknot', fn: toFixedUnit('kn') },
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'volume',
|
name: 'volume',
|
||||||
formats: [
|
formats: [
|
||||||
|
Loading…
Reference in New Issue
Block a user