charter-shiny: Shiny bindings for charter

Description Usage Arguments

Description

Output and render functions for using charter within Shiny applications and interactive Rmd documents.

Usage

1
2
3
4
5
6
7
8
9
charterOutput(outputId, width = "100%", height = "400px")

renderCharter(expr, env = parent.frame(), quoted = FALSE)

render_charter(expr, env = parent.frame(), quoted = FALSE)

charterProxy(id, session = shiny::getDefaultReactiveDomain())

charter_proxy(id, session = shiny::getDefaultReactiveDomain())

Arguments

outputId

output variable to read from

width, height

Must be a valid CSS unit (like '100%', '400px', 'auto') or a number, which will be coerced to a string and have 'px' appended.

expr

An expression that generates a charter

env

The environment in which to evaluate expr.

quoted

Is expr a quoted expression (with quote())? This is useful if you want to save an expression in a variable.

id

Id of chart to build a proxy from.

session

A valid Shiny session.


JohnCoene/charter documentation built on Feb. 20, 2022, 11:07 p.m.