dreamRs / esquisse

RStudio add-in to make plots interactively with ggplot2
https://dreamrs.github.io/esquisse
Other
1.76k stars 227 forks source link

UI issues in Shiny app #243

Closed valcaras closed 8 months ago

valcaras commented 1 year ago

Hi! I try to use esquisse module in a Shiny app with css style. When it is run graphs options are not displayed fully.

Parts of code:

 tabPanel("Make your plot",
                  fluidRow(
                    esquisse_ui( 
                     id = "esquisse",
                     container = esquisseContainer(),
                     header = FALSE)
                 ))

observeEvent(input$tabs_set, {
  if(input$tabs_set == "Make your plot") {
    esquisse_server(
      id = "esquisse",
      data_rv = NULL,
      default_aes = c("fill", "color", "size", "group", "facet"),
      import_from = c("env", "file", "copypaste", "googlesheets")
    )
  }   
})

Screenshot 2023-01-12 at 14 01 02 (2)

pvictor commented 1 year ago

Please share more of your code, you seems to be using a custom theme for example. And you can also try to use last version on GitHub, many changes have been made here.