title: Shiny Interactive Graph plot showing row names
body: <p>I am using Shiny and ggplot2 for an interactive graph. I also used "plot1_click" to get x and y locations.</p>
  
  <pre><code>output$selected &lt;- renderText({
  paste0("Value=", input$plot1_click$x, "\n",
         "Names=", input$plot1_click$y)  }) #how to get names???
  </code></pre>
  
  <p>This is part of server code. Here what I want is, instead of printing the "y" coordinates, I want to print the corresponding name written in y-axis. Is there any possible way for it?? </p>