Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
<br>
You can also use this to insert extra layers to the chart, this extra layer must be
a function which will receive the chart computed data and must return a valid SVG
element.
),
required: false,
default: defaults.layers,
},
{
key: 'enableLinks',
scopes: '*',
description: 'Enable/disable links.',
type: '{boolean}',
required: false,
default: defaults.enableLinks,
controlType: 'switch',
controlGroup: 'Links',
},
{
key: 'linkLineWidth',
description: 'Links line width (px).',
type: '{number}',
required: false,
default: defaults.linkLineWidth,
controlType: 'range',
controlGroup: 'Links',
controlOptions: {
unit: 'px',
min: 0,
max: 12,
step: 1,
\`links\`, \`cells\`, \`points\`, \`bounds\`.
You can also use this to insert extra layers
to the chart, this extra layer must be
a function which will receive the chart computed
data and must return a valid SVG element.
`,
required: false,
defaultValue: defaults.layers,
},
{
key: 'enableLinks',
help: 'Enable/disable links.',
type: 'boolean',
required: false,
defaultValue: defaults.enableLinks,
controlType: 'switch',
group: 'Links',
},
{
key: 'linkLineWidth',
help: 'Links line width.',
type: 'number',
required: false,
defaultValue: defaults.linkLineWidth,
controlType: 'lineWidth',
group: 'Links',
},
{
key: 'linkLineColor',
help: 'Links color.',
type: 'string',