Skip to contents

Place arcgisChartOutput() in a Shiny UI and renderArcgisChart() in the server.

Usage

arcgisChartOutput(outputId, width = "100%", height = "400px")

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

Arguments

outputId

Defines which output variable the chart is read from.

width, height

default "100%" and "400px". Defines the output size, passed to htmlwidgets::shinyWidgetOutput().

expr

Defines the expression that generates the chart.

env

default parent.frame(). Defines where expr is evaluated.

quoted

default FALSE. Defines whether expr is already quoted.

Value

A Shiny output or render function.

Examples

arcgisChartOutput("chart")
#> <div class="arcgisChart html-widget html-widget-output shiny-report-size html-fill-item" id="chart" style="width:100%;height:400px;"></div>