Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
key: 'slicesLabelsTextColor',
help: 'Defines how to compute slice label text color.',
type: 'string | object | Function',
required: false,
defaultValue: defaults.slicesLabelsTextColor,
controlType: 'inheritedColor',
group: 'Slices labels',
},
{
key: 'isInteractive',
flavors: ['svg', 'canvas'],
group: 'Interactivity',
help: 'Enable/disable interactivity.',
type: 'boolean',
required: false,
defaultValue: defaults.isInteractive,
controlType: 'switch',
},
{
key: 'onClick',
flavors: ['svg', 'canvas'],
group: 'Interactivity',
help: 'onClick handler.',
description:
'onClick handler for pie slices, it receives clicked slice data and mouse event.',
type: 'Function',
required: false,
},
{
key: 'tooltip',
flavors: ['svg', 'canvas'],
group: 'Interactivity',