Commit 281312ff by Kofi Jedamzik

Add units for blood sugar concentration 馃拤

parent 2325c5db
...@@ -629,6 +629,8 @@ kbn.valueFormats.conmgm3 = kbn.formatBuilders.fixedUnit('mg/m鲁'); ...@@ -629,6 +629,8 @@ kbn.valueFormats.conmgm3 = kbn.formatBuilders.fixedUnit('mg/m鲁');
kbn.valueFormats.conmgNm3 = kbn.formatBuilders.fixedUnit('mg/Nm'); kbn.valueFormats.conmgNm3 = kbn.formatBuilders.fixedUnit('mg/Nm');
kbn.valueFormats.congm3 = kbn.formatBuilders.fixedUnit('g/m'); kbn.valueFormats.congm3 = kbn.formatBuilders.fixedUnit('g/m');
kbn.valueFormats.congNm3 = kbn.formatBuilders.fixedUnit('g/Nm'); kbn.valueFormats.congNm3 = kbn.formatBuilders.fixedUnit('g/Nm');
kbn.valueFormats.conmgdL = kbn.formatBuilders.fixedUnit('mg/dL');
kbn.valueFormats.conmmolL = kbn.formatBuilders.fixedUnit('mmol/L');
// Time // Time
kbn.valueFormats.hertz = kbn.formatBuilders.decimalSIPrefix('Hz'); kbn.valueFormats.hertz = kbn.formatBuilders.decimalSIPrefix('Hz');
...@@ -1209,6 +1211,8 @@ kbn.getUnitFormats = () => { ...@@ -1209,6 +1211,8 @@ kbn.getUnitFormats = () => {
{ text: 'milligram per normal cubic meter (mg/Nm)', value: 'conmgNm3' }, { text: 'milligram per normal cubic meter (mg/Nm)', value: 'conmgNm3' },
{ text: 'gram per cubic meter (g/m)', value: 'congm3' }, { text: 'gram per cubic meter (g/m)', value: 'congm3' },
{ text: 'gram per normal cubic meter (g/Nm)', value: 'congNm3' }, { text: 'gram per normal cubic meter (g/Nm)', value: 'congNm3' },
{ text: 'milligrams per decilitre (mg/dL)', value: 'conmgdL' },
{ text: 'millimoles per litre (mmol/L)', value: 'conmmolL' },
], ],
}, },
]; ];
......
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