I am testing the event_data() functionality to show the KEY value for a marker add_trace to ggplotly.
I noticed that while it works fine for most points that I select/over/lasso....it only shows the first CHARACTER for some of the points. It seems unusual why it is doing this.
I am using the code based on the following example: https://github.com/ropensci/plotly/blob/f1900cc3cd464408a60ffadfe3e95460747430e0/inst/examples/plotlyEvents/app.R
Any idea?

I am testing the event_data() functionality to show the KEY value for a marker add_trace to ggplotly.
I noticed that while it works fine for most points that I select/over/lasso....it only shows the first CHARACTER for some of the points. It seems unusual why it is doing this.
I am using the code based on the following example: https://github.com/ropensci/plotly/blob/f1900cc3cd464408a60ffadfe3e95460747430e0/inst/examples/plotlyEvents/app.R
Any idea?