Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
Defines the order of layers, available layers are:
\`grid\`, \`axes\`, \`points\`, \`markers\`,
\`mesh\`, \`legends\`.
You can also use this to insert extra layers
to the chart.
For \`ScatterPlot\`, the extra layer should be a component
and will receive current chart context as props.
If using \`ScatterPlotCanvas\`, the extra layer should be
a function and will receive canvas context as first argument
and current chart context object as second.
`,
required: false,
defaultValue: defaults.layers,
},
{
key: 'renderNode',
flavors: ['svg', 'canvas'],
group: 'Customization',
help: 'Override default node rendering.',
},
{
key: 'enableGridX',
help: 'Enable/disable x grid.',
type: 'boolean',
required: false,
defaultValue: defaults.enableGridX,
controlType: 'switch',
group: 'Grid & Axes',
},