Minor fixes to sunburst (#4349)

* Minor fixes to sunburst

closes https://github.com/apache/incubator-superset/issues/4340

* nit
This commit is contained in:
Maxime Beauchemin
2018-02-09 14:27:22 -08:00
committed by GitHub
parent 54d387598d
commit 1769804ffd
3 changed files with 17 additions and 18 deletions

View File

@@ -1112,9 +1112,10 @@ export const visTypes = {
},
secondary_metric: {
label: t('Secondary Metric'),
description: t('This secondary metric is used to ' +
default: null,
description: t('[optional] this secondary metric is used to ' +
'define the color as a ratio against the primary metric. ' +
'If the two metrics match, color is mapped level groups'),
'When omitted, the color is categorical and based on labels'),
},
groupby: {
label: t('Hierarchy'),