Commit 9c64da43 by Dennis de Greef

Add cubic meters to units

parent 163b45cf
...@@ -397,6 +397,7 @@ function($, _) { ...@@ -397,6 +397,7 @@ function($, _) {
// Volume // Volume
kbn.valueFormats.litre = kbn.formatBuilders.decimalSIPrefix('L'); kbn.valueFormats.litre = kbn.formatBuilders.decimalSIPrefix('L');
kbn.valueFormats.mlitre = kbn.formatBuilders.decimalSIPrefix('L', -1); kbn.valueFormats.mlitre = kbn.formatBuilders.decimalSIPrefix('L', -1);
kbn.valueFormats.m3 = kbn.formatBuilders.decimalSIPrefix('m3');
// Time // Time
kbn.valueFormats.hertz = kbn.formatBuilders.decimalSIPrefix('Hz'); kbn.valueFormats.hertz = kbn.formatBuilders.decimalSIPrefix('Hz');
...@@ -570,6 +571,7 @@ function($, _) { ...@@ -570,6 +571,7 @@ function($, _) {
submenu: [ submenu: [
{text: 'millilitre', value: 'mlitre'}, {text: 'millilitre', value: 'mlitre'},
{text: 'litre', value: 'litre' }, {text: 'litre', value: 'litre' },
{text: 'cubic metre', value: 'm3' },
] ]
}, },
{ {
......
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