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: 'colors',
help: 'Defines how to compute line color.',
type: 'string | Function',
required: false,
defaultValue: defaults.colors,
controlType: 'ordinalColors',
group: 'Style',
},
{
key: 'fillOpacity',
help: 'Layers fill opacity.',
type: 'number',
required: false,
defaultValue: defaults.fillOpacity,
controlType: 'opacity',
group: 'Style',
},
{
key: 'borderWidth',
help: 'Width of layer border.',
type: 'number',