How to use the @nivo/scatterplot.ScatterPlotCanvasDefaultProps.isInteractive function in @nivo/scatterplot

To help you get started, we’ve selected a few @nivo/scatterplot examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github plouc / nivo / website / src / pages / scatterplot / canvas.js View on Github external
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,
            itemDirection: 'left-to-right',
            symbolSize: 12,
            symbolShape: 'rect',