...I have a shiny app where I plot a bar graph. I have functionality to click on one of the bars to drill down into more detail. I have three of these bar graphs, and two of them work fine. However, there is one graph where I click on it, and the data shows very briefly and then it goes away. I don't know what to do.
The code for plot and the click are:
tabPanel(
"Redundant Therapy", br(),
plotOutput("redundant", click="red_click"),
br(),
htmlOutput("red_value"),
tableOutput("selected_rows_loc"),
br()
),
red_value and selected_rows_loc are what display based on the bar that is clisked on. What am I doing wrong??