chore: stacks and sorts Histogram controls (#1273)

This commit is contained in:
Michael S. Molina
2021-08-10 08:14:16 -03:00
committed by Yongjie Zhao
parent d1d04530e5
commit 4d2a7eee25

View File

@@ -71,18 +71,6 @@ const config: ControlPanelConfig = {
expanded: true,
controlSetRows: [
['color_scheme', 'label_colors'],
[
{
name: 'show_legend',
config: {
type: 'CheckboxControl',
label: t('Legend'),
renderTrigger: true,
default: false,
description: t('Whether to display the legend (toggles)'),
},
},
],
[
{
name: 'link_length',
@@ -107,6 +95,8 @@ const config: ControlPanelConfig = {
default: '',
},
},
],
[
{
name: 'y_axis_label',
config: {
@@ -117,6 +107,18 @@ const config: ControlPanelConfig = {
},
},
],
[
{
name: 'show_legend',
config: {
type: 'CheckboxControl',
label: t('Legend'),
renderTrigger: true,
default: false,
description: t('Whether to display the legend (toggles)'),
},
},
],
[
{
name: 'normalized',