Commit 397da7a4 by Carl Bergquist Committed by GitHub

Merge pull request #10572 from Jonnymcc/add-lumens-unit

Add lumens unit
parents 1de00ded 88e1ec33
...@@ -493,6 +493,7 @@ kbn.valueFormats.kvolt = kbn.formatBuilders.decimalSIPrefix('V', 1); ...@@ -493,6 +493,7 @@ kbn.valueFormats.kvolt = kbn.formatBuilders.decimalSIPrefix('V', 1);
kbn.valueFormats.mvolt = kbn.formatBuilders.decimalSIPrefix('V', -1); kbn.valueFormats.mvolt = kbn.formatBuilders.decimalSIPrefix('V', -1);
kbn.valueFormats.dBm = kbn.formatBuilders.decimalSIPrefix('dBm'); kbn.valueFormats.dBm = kbn.formatBuilders.decimalSIPrefix('dBm');
kbn.valueFormats.ohm = kbn.formatBuilders.decimalSIPrefix('Ω'); kbn.valueFormats.ohm = kbn.formatBuilders.decimalSIPrefix('Ω');
kbn.valueFormats.lumens = kbn.formatBuilders.decimalSIPrefix('Lm');
// Temperature // Temperature
kbn.valueFormats.celsius = kbn.formatBuilders.fixedUnit('°C'); kbn.valueFormats.celsius = kbn.formatBuilders.fixedUnit('°C');
...@@ -958,6 +959,7 @@ kbn.getUnitFormats = function() { ...@@ -958,6 +959,7 @@ kbn.getUnitFormats = function() {
{ text: 'Millivolt (mV)', value: 'mvolt' }, { text: 'Millivolt (mV)', value: 'mvolt' },
{ text: 'Decibel-milliwatt (dBm)', value: 'dBm' }, { text: 'Decibel-milliwatt (dBm)', value: 'dBm' },
{ text: 'Ohm (Ω)', value: 'ohm' }, { text: 'Ohm (Ω)', value: 'ohm' },
{ text: 'Lumens (Lm)', value: 'lumens' },
], ],
}, },
{ {
......
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