Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
},
{
key: 'gridYValues',
group: 'Grid & Axes',
help: 'Specify values to use for horizontal grid lines.',
type: 'Array',
required: false,
},
...axesProperties(),
{
key: 'isInteractive',
flavors: ['svg', 'canvas'],
help: 'Enable/disable interactivity.',
type: 'boolean',
required: false,
defaultValue: defaults.isInteractive,
controlType: 'switch',
group: 'Interactivity',
},
{
key: 'tooltip',
flavors: ['svg', 'canvas'],
group: 'Interactivity',
type: 'Function',
required: false,
help: 'Tooltip custom component',
description: `
A function allowing complete tooltip customisation,
it must return a valid HTML element and will receive
the following data:
\`\`\`
{