Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
min: -180,
max: 180,
step: 5,
},
},
{
key: 'labelTextColor',
help: 'Labels color.',
description: `
How to compute label text color,
[see dedicated documentation](self:/guides/colors).
`,
help: 'Method to compute label text color.',
type: 'string | object | Function',
required: false,
defaultValue: defaults.labelTextColor,
controlType: 'inheritedColor',
group: 'Labels',
},
{
key: 'layers',
group: 'Customization',
help: 'Defines the order of layers and add custom layers.',
description: `
You can also use this to insert extra layers
to the chart, the extra layer must be a function.
The layer function which will receive the chart's
context & computed data and must return a valid SVG element
for the \`Chord\` component.
When using the canvas implementation, the function