title: Shiny building 2 graphs one below the other
body: <p>I have downloaded an example of using shiny and I want to add a simple technical indicator to it.</p>
  
  <p>My problem is that I cannot really see the second graph.
  Any help suggestion? 
     <strong>I have read this</strong>: <a href="https://stackoverflow.com/questions/44205137/plotting-the-same-output-in-two-tabpanels-in-shiny">Plotting the same output in two tabPanels in shiny</a> <strong>and</strong> 
  <a href="https://stackoverflow.com/questions/25423448/r-shiny-how-to-assign-the-same-plot-to-two-different-plotoutput">R Shiny: How to assign the same plot to two different plotOutput</a>
  I DO exactly the same or at least I think. So I need a small help on that, please</p>
  
  <pre><code>library(shiny)
  ui &lt;- shinyUI(fluidPage(
    titlePanel("Simple Stock Charting App"),
  
        sidebarLayout(
          sidebarPanel(
  
            textInput("symb", label = h3("Input a Valid Stock Ticker"), value = "GE") 
          ),
  
             ### uncomment for dygraphs chart
          mainPanel(dygraphOutput("plot")),
          mainPanel(plotOutput("plot2"))
        )
      ))
  
      library(quantmod)
      library(dygraphs)
      library(TTR)
      server &lt;- shinyServer(function(input, output) {
  
        dataInput &lt;- reactive({
  
          prices &lt;- getSymbols(input$symb, auto.assign = FALSE)
  
        })
  
        output$plot &lt;- renderDygraph({renderPlot
  
          prices &lt;- dataInput()
  
          dygraph(Ad(prices)) %&gt;%
            dyRangeSelector() 
          })
  
          output$plot2 &lt;- renderPlot({
  
            prices &lt;- dataInput()
            prices &lt;- Ad(prices)
            plotOutput((RSI(prices, n = 14))) %&gt;%  dyRangeSelector()
  
             })
      })
  
  
      shinyApp(ui,server)
  </code></pre>