Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
legendOffset: 46,
format: d => `${d} kg`,
},
axisLeft: {
enable: true,
orient: 'left',
tickSize: 5,
tickPadding: 5,
tickRotation: 0,
legend: 'size',
legendPosition: 'middle',
legendOffset: -60,
format: d => `${d} cm`,
},
enableGridX: ScatterPlotCanvasDefaultProps.enableGridX,
enableGridY: ScatterPlotCanvasDefaultProps.enableGridY,
isInteractive: ScatterPlotCanvasDefaultProps.isInteractive,
useMesh: ScatterPlotCanvasDefaultProps.useMesh,
debugMesh: ScatterPlotCanvasDefaultProps.debugMesh,
legends: [
{
anchor: 'bottom-right',
direction: 'column',
justify: false,
translateX: 130,
translateY: 0,
itemWidth: 100,
itemHeight: 12,
itemsSpacing: 5,