Superset issue #4512: fixing histogram (#4513)

* fixing histogram axes and colors, adding normalized and x-axis label options

* adding y-axis label option
This commit is contained in:
Ariel Shemtov
2018-03-02 13:45:46 -08:00
committed by Grace Guo
parent 41defdceaa
commit 413585448e
3 changed files with 57 additions and 44 deletions

View File

@@ -1985,5 +1985,13 @@ export const controls = {
description: t('Whether to fill the objects'),
default: false,
},
normalized: {
type: 'CheckboxControl',
label: t('Normalized'),
renderTrigger: true,
description: t('Whether to normalize the histogram'),
default: false,
},
};
export default controls;

View File

@@ -1110,6 +1110,8 @@ export const visTypes = {
controlSetRows: [
['color_scheme'],
['link_length'],
['x_axis_label', 'y_axis_label'],
['normalized'],
],
},
],