mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Added Litre/min and milliLitre/min in Flow (#12282)
units: Litre/min and milliLitre/min in Flow
This commit is contained in:
committed by
Marcus Efraimsson
parent
5f78ad583f
commit
2d1f59a9cc
@@ -582,6 +582,8 @@ kbn.valueFormats.flowcms = kbn.formatBuilders.fixedUnit('cms');
|
|||||||
kbn.valueFormats.flowcfs = kbn.formatBuilders.fixedUnit('cfs');
|
kbn.valueFormats.flowcfs = kbn.formatBuilders.fixedUnit('cfs');
|
||||||
kbn.valueFormats.flowcfm = kbn.formatBuilders.fixedUnit('cfm');
|
kbn.valueFormats.flowcfm = kbn.formatBuilders.fixedUnit('cfm');
|
||||||
kbn.valueFormats.litreh = kbn.formatBuilders.fixedUnit('l/h');
|
kbn.valueFormats.litreh = kbn.formatBuilders.fixedUnit('l/h');
|
||||||
|
kbn.valueFormats.flowlpm = kbn.formatBuilders.decimalSIPrefix('L');
|
||||||
|
kbn.valueFormats.flowmlpm = kbn.formatBuilders.decimalSIPrefix('L', -1);
|
||||||
|
|
||||||
// Angle
|
// Angle
|
||||||
kbn.valueFormats.degree = kbn.formatBuilders.fixedUnit('°');
|
kbn.valueFormats.degree = kbn.formatBuilders.fixedUnit('°');
|
||||||
@@ -1075,6 +1077,8 @@ kbn.getUnitFormats = function() {
|
|||||||
{ text: 'Cubic feet/sec (cfs)', value: 'flowcfs' },
|
{ text: 'Cubic feet/sec (cfs)', value: 'flowcfs' },
|
||||||
{ text: 'Cubic feet/min (cfm)', value: 'flowcfm' },
|
{ text: 'Cubic feet/min (cfm)', value: 'flowcfm' },
|
||||||
{ text: 'Litre/hour', value: 'litreh' },
|
{ text: 'Litre/hour', value: 'litreh' },
|
||||||
|
{ text: 'Litre/min (l/min)', value: 'flowlpm' },
|
||||||
|
{ text: 'milliLitre/min (mL/min)', value: 'flowmlpm' },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user