Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
group: 'Base',
},
{
key: 'keys',
help: 'Keys to use to determine each serie.',
type: 'string[]',
required: false,
defaultValue: defaults.keys,
group: 'Base',
},
{
key: 'groupMode',
help: `How to group bars.`,
type: 'string',
required: false,
defaultValue: defaults.groupMode,
controlType: 'radio',
group: 'Base',
controlOptions: {
choices: [
{ label: 'stacked', value: 'stacked' },
{ label: 'grouped', value: 'grouped' },
],
},
},
{
key: 'layout',
help: `How to display bars.`,
type: 'string',
required: false,
defaultValue: defaults.layout,
controlType: 'radio',