milkmotel
milkmotel

Reputation: 412

Shiny plot not showing

My code looks like this:

shinyServer(function(input, output) {
    DataRead <- reactive(input$PlotType)
    CR <- reactive(as.character(input$ContributionRate))
    PlotData <- reactive(get(paste(CR(),DataRead(),sep="")))
    output$gPlot <- renderGvis({gvisLineChart(PlotData(),
        options=...)
    })
})

I'm assuming the get() function isn't passing the data.frame through to PlotData(), which makes the HTML render blank.

My ui.R is using htmlOutput().

Anyone know what the issue is?

Upvotes: 0

Views: 1378

Answers (1)

milkmotel
milkmotel

Reputation: 412

The HTML only renders in a browser window. That was my issue.

However, now there is a problem where not all of the lines will show. The points still display data when moused-over but the line itself is invisible.

Upvotes: 0

Related Questions