-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
featuresomething newsomething new
Description
I would like to be able to know when the user hovers or clicks on my label or legend items. Specifically, I would like to be able to highlight a given pie slice or bar trace when a particular label or legend item is hovered over. d3pie does this, and an example can be seen here: http://d3pie.org/#generator-start
As a starting point, it would be useful to have this click
handler fire an event after it calls Plotly.restyle
or Plotly.relayout
:
plotly.js/src/components/legend/index.js
Line 484 in 47b13b0
traceToggle.on('click', function() { |
A hover
handler for the same traces would help a lot as well.
MatteoSidcutalion, chrisgervang, Arnoldosmium, yarl and gk-patel
Metadata
Metadata
Assignees
Labels
featuresomething newsomething new