Skip to content

added code for plotly #19

@winsonfzyang

Description

@winsonfzyang

Hello! I think I might know a way to allow plotly to work on your app.
you would have to add this to server.R:

output$plotly.plot <- renderPlotly({ ggplotly(plotObject()) })

output$ui_plotly <- renderUI({ plotlyOutput('plotly.plot', width = "100%" ,height = input$height) })

But doing that your box plots will not work because when you have no input in Groups, your group is an empty column, and plotly cannot read it.

geom_boxplot(aes(group=NULL)

My suggestion to get it working is to replace NULL with input$x:

geom_boxplot(aes_string(group=input$x)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions