plotly.R icon indicating copy to clipboard operation
plotly.R copied to clipboard

Event "plotly_legendclick" returns unreasonable results for member $visible

Open dieter-wilhelm opened this issue 4 years ago • 1 comments

Brief description of the problem:

  1. For a first click on a(ny) legend entry there is no member $visible at all, even though the markers are not visible.
  2. For even numbers of clicks on legend entries $visible is "legendonly" (markers are shown).
  3. For odd numbers of clicks $visible is TRUE (respective markers are not shown).

Please consider as reprex: https://github.com/ropensci/plotly/blob/master/inst/examples/shiny/event_data_legends/app.R

dieter-wilhelm avatar Mar 28 '21 19:03 dieter-wilhelm

Hello, is anyone looking at this issue?

davidrsch avatar Nov 25 '24 21:11 davidrsch