Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
type: 'number',
controlType: 'opacity',
group: 'Style',
},
{
key: 'areaBlendMode',
flavors: ['svg'],
help: 'Defines CSS mix-blend-mode property.',
description: `
Defines CSS \`mix-blend-mode\` property for areas,
see
[MDN documentation](https://developer.mozilla.org/fr/docs/Web/CSS/mix-blend-mode).
`,
type: 'string',
required: false,
defaultValue: defaults.areaBlendMode,
controlType: 'blendMode',
group: 'Style',
},
{
key: 'layers',
group: 'Customization',
help: 'Defines the order of layers and add custom layers.',
description: `
You can also use this property 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,
},