Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
},
},
{
key: 'margin',
help: 'Chart margin.',
type: 'object',
required: false,
controlType: 'margin',
group: 'Base',
},
{
key: 'align',
help: 'defines how calendar should be aligned inside chart container.',
type: 'string',
required: false,
defaultValue: defaults.align,
controlType: 'boxAnchor',
group: 'Base',
controlOptions: {
choices: boxAlignments.map(align => ({
label: align,
value: align,
})),
},
},
{
key: 'minValue',
help: 'Minimum value.',
description: `
Minimum value. If 'auto', will pick the lowest value
in the provided data set.
Should be overriden if your data set does not contain