Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
{
key: 'renderDot',
group: 'Dots',
flavors: ['svg'],
help: 'Custom rendering function for dots.',
type: 'Function',
required: false,
},
{
key: 'dotSize',
help: 'Size of the dots',
description:
'Size of the dots, it also accepts a function which can be used to make it vary according to the associated datum.',
type: 'number | Function',
required: false,
defaultValue: defaults.dotSize,
controlType: 'range',
group: 'Dots',
controlOptions: {
unit: 'px',
min: 2,
max: 20,
},
},
{
key: 'dotColor',
help: 'Method to compute dots color.',
type: 'string | object | Function',
required: false,
defaultValue: defaults.dotColor,
controlType: 'inheritedColor',
group: 'Dots',