Skip to content

Commit

Permalink
added cubic decimetre - dm3 grafana#7695
Browse files Browse the repository at this point in the history
  • Loading branch information
mitjaziv committed Mar 3, 2017
1 parent fe970f6 commit 2bf0696
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions public/app/core/utils/kbn.js
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,7 @@ function($, _) {
kbn.valueFormats.litre = kbn.formatBuilders.decimalSIPrefix('L');
kbn.valueFormats.mlitre = kbn.formatBuilders.decimalSIPrefix('L', -1);
kbn.valueFormats.m3 = kbn.formatBuilders.decimalSIPrefix('m3');
kbn.valueFormats.dm3 = kbn.formatBuilders.decimalSIPrefix('dm3');
kbn.valueFormats.gallons = kbn.formatBuilders.fixedUnit('gal');

// Flow
Expand Down Expand Up @@ -805,10 +806,11 @@ function($, _) {
{
text: 'volume',
submenu: [
{text: 'millilitre', value: 'mlitre' },
{text: 'litre', value: 'litre' },
{text: 'cubic metre', value: 'm3' },
{text: 'gallons', value: 'gallons'},
{text: 'millilitre', value: 'mlitre' },
{text: 'litre', value: 'litre' },
{text: 'cubic metre', value: 'm3' },
{text: 'cubic decimetre', value: 'dm3' },
{text: 'gallons', value: 'gallons'},
]
},
{
Expand Down

0 comments on commit 2bf0696

Please sign in to comment.