Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
required: false,
defaultValue: defaults.padding,
controlType: 'range',
group: 'Base',
controlOptions: {
min: 0,
max: 0.9,
step: 0.05,
},
},
{
key: 'innerPadding',
help: 'Padding between grouped/stacked bars.',
type: 'number',
required: false,
defaultValue: defaults.innerPadding,
controlType: 'range',
group: 'Base',
controlOptions: {
unit: 'px',
min: 0,
max: 10,
},
},
{
key: 'width',
enableControlForFlavors: ['api'],
help: 'Chart width.',
description: `
not required if using \`ResponsiveBar\`.
Also note that width exclude left/right axes,
please add margin to make sure they're visible.