# Shiny: no event data from plotly\_relayout

**URL:** <https://community.plotly.com/t/shiny-no-event-data-from-plotly-relayout/5059>\
**Category:** Plotly R\
**Created:** [July 24, 2017, 3:40pm UTC](https://community.plotly.com/t/shiny-no-event-data-from-plotly-relayout/5059 "2017-07-24T15:40:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cervus](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/cervus/32/1432_2.png) [@Cervus](https://community.plotly.com/u/Cervus)\
**Post date:** [July 24, 2017, 3:40pm UTC](https://community.plotly.com/t/shiny-no-event-data-from-plotly-relayout/5059/1 "2017-07-24T15:40:30Z")

</div>

shiny 1.0.2  
plotly 4.7.0

I’m trying to get `event_data("plotly_relayout", source = "...")` to work, as seen in this example: [https://plot.ly/r/shinyapp-plotly-events/](https://plot.ly/r/shinyapp-plotly-events/)

I get nothing in response to zoom, “reset axes” or manipulating range slider. (I also tried removing the range slider, in case it was causing the problem, but nothing changed.)

I _do_ get event data for `plotly_hover` and `plotly_click`, so I’m quite certain there’s nothing wrong with my code.

---

<div class="post-metadata">

**Author:** ![Cervus](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/cervus/32/1432_2.png) [@Cervus](https://community.plotly.com/u/Cervus)\
**Post date:** [August 1, 2017, 8:54am UTC](https://community.plotly.com/t/shiny-no-event-data-from-plotly-relayout/5059/2 "2017-08-01T08:54:31Z")

</div>

[Issue #1039](https://github.com/ropensci/plotly/issues/1039) fixed in 4.7.1: [https://github.com/ropensci/plotly/blob/master/NEWS.md](https://github.com/ropensci/plotly/blob/master/NEWS.md)
