fit: Set zoom and center so that the current model nicely fills...

Description Usage Arguments Examples

View source: R/nglShiny.R View source: R/nglShiny-class.R View source: R/NglWidget.R

Description

Set zoom and center so that the current model nicely fills the display.

Usage

1
fit(session, htmlContainer)

Arguments

session

a Shiny server session object.

htmlContainer

a character string used to identify the NglWidget instance, the id of html element

Examples

1
2
3
4
## Not run: 
  fit(session)

## End(Not run)

paul-shannon/nglShinyS4 documentation built on June 1, 2020, 12:26 a.m.