ggiraph (version 0.4.3)

ggiraphOutput: Create a ggiraph output element

Description

Render a ggiraph within an application page.

Usage

ggiraphOutput(outputId, width = "100%", height = "500px")

Arguments

outputId

output variable to read the ggiraph from.

width

widget width

height

widget height

Examples

Run this code
# NOT RUN {
if( require(shiny) && interactive() ){
  app_dir <- file.path( system.file(package = "ggiraph"), "shiny/cars" )
  shinyAppDir(appDir = app_dir )
 }
if( require(shiny) && interactive() ){
  app_dir <- file.path( system.file(package = "ggiraph"), "shiny/crimes" )
  shinyAppDir(appDir = app_dir )
}
# }

Run the code above in your browser using DataCamp Workspace