Commit 9d4354b7 by Torkel Ödegaard Committed by GitHub

Merge pull request #14857 from grafana/14851-velocity-units

units: adds back velocity units. 
parents db448b5d 1fea09ba
......@@ -300,6 +300,15 @@ export const getCategories = (): ValueFormatCategory[] => [
],
},
{
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',
formats: [
{ name: 'millilitre (mL)', id: 'mlitre', fn: decimalSIPrefix('L', -1) },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment