Procházet zdrojové kódy

Merge pull request #15483 from klaernie/patch-1

Add Lux to units
Torkel Ödegaard před 6 roky
rodič
revize
730515d8dc

+ 1 - 0
packages/grafana-ui/src/utils/valueFormats/categories.ts

@@ -191,6 +191,7 @@ export const getCategories = (): ValueFormatCategory[] => [
       { name: 'Litre/hour', id: 'litreh', fn: toFixedUnit('l/h') },
       { name: 'Litre/min (l/min)', id: 'flowlpm', fn: toFixedUnit('l/min') },
       { name: 'milliLitre/min (mL/min)', id: 'flowmlpm', fn: toFixedUnit('mL/min') },
+      { name: 'Lux (lx)', id: 'lux', fn: toFixedUnit('lux') },
     ],
   },
   {