ggiraphOutput | R Documentation |
Render a ggiraph within an application page.
This function is now deprecated, users should
now use function girafeOutput()
.
ggiraphOutput(outputId, width = "100%", height = "500px")
outputId |
output variable to read the ggiraph from. |
width |
widget width |
height |
widget height |
## Not run:
if( require(shiny) && interactive() ){
app_dir <- file.path( system.file(package = "ggiraph"), "examples/shiny/cars" )
shinyAppDir(appDir = app_dir )
}
if( require(shiny) && interactive() ){
app_dir <- file.path( system.file(package = "ggiraph"), "examples/shiny/crimes" )
shinyAppDir(appDir = app_dir )
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.