[heatmap] account for bounds = 0 (#3474)

* [heatmap] account for bounds = 0

* Fix sorting

* linting
This commit is contained in:
Maxime Beauchemin
2017-09-18 21:32:39 -07:00
committed by GitHub
parent ede1432936
commit c5252d0f43
3 changed files with 19 additions and 11 deletions

View File

@@ -37,10 +37,10 @@ const timeColumnOption = {
'account'),
};
const sortAxisChoices = [
['alpha_asc', 'Alphabetical ascending'],
['alpha_desc', 'Alphabetical descending'],
['value_asc', 'Value ascending'],
['value_desc', 'Value descending'],
['alpha_asc', 'Axis ascending'],
['alpha_desc', 'Axis descending'],
['value_asc', 'sum(value) ascending'],
['value_desc', 'sum(value) descending'],
];
const groupByControl = {