plotly.R
plotly.R copied to clipboard
Event "plotly_legendclick" returns unreasonable results for member $visible
Brief description of the problem:
- For a first click on a(ny) legend entry there is no member $visible at all, even though the markers are not visible.
- For even numbers of clicks on legend entries $visible is "legendonly" (markers are shown).
- 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
Hello, is anyone looking at this issue?