Skip to content

[Feature Request] Disable click/hover events per line/data #3959

Closed
@dummdidumm

Description

@dummdidumm

Feature Request

It would be great if there was a functionality to disable hover and/or click events per line/data. Something like this:

Plotly.newPlot(
  "myDiv",
  [{
     x: [1, 2, 3, 4],
     y: [16, 15, 11, 9],
     type: "scatter",
     // If I hover over a data point, there will be no plolty_hover/unhover event for this line.
     // There will be no hoverlabel, too.
     // Default is true
     hoverevents: false,
     // If I click on a data point, there will be no plolty_click event for this line.
     // Default is true
     clickevents: false
  }]
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions