Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
type: 'linear',
min: 0,
max: 'auto',
},
xFormat: d => `${d} kg`,
yScale: {
type: 'linear',
min: 0,
max: 'auto',
},
yFormat: d => `${d} cm`,
pixelRatio:
typeof window !== 'undefined' && window.devicePixelRatio ? window.devicePixelRatio : 1,
colors: ScatterPlotCanvasDefaultProps.colors,
nodeSize: 5,
axisTop: {
enable: false,
orient: 'top',
tickSize: 5,
tickPadding: 5,
tickRotation: 0,
legend: '',
legendOffset: 36,
},
axisRight: {
enable: false,
orient: 'right',
tickSize: 5,