Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
},
{
key: 'radialLabelsTextColor',
help: 'Defines how to compute radial label text color.',
type: 'string | object | Function',
required: false,
defaultValue: defaults.radialLabelsTextColor,
controlType: 'inheritedColor',
group: 'Radial labels',
},
{
key: 'radialLabelsLinkColor',
help: 'Defines how to compute radial label link color.',
type: 'string | object | Function',
required: false,
defaultValue: defaults.radialLabelsLinkColor,
controlType: 'inheritedColor',
group: 'Radial labels',
},
{
key: 'enableSlicesLabels',
help: 'Enable/disable slices labels.',
type: 'boolean',
required: false,
defaultValue: defaults.enableSlicesLabels,
controlType: 'switch',
group: 'Slices labels',
},
{
key: 'sliceLabel',
help:
'Defines how to get label text, can be a string (used to access current node data property) or a function which will receive the actual node data.',