Saves a ggvis chart as a DSS static insight that can be exposed on the dashboard

dkuSaveGgvisInsight(id, gg, label = NULL)

Arguments

id:

Unique identifier of the insight within the project. If an insight with the same identifier already exists, it will be replaced

gg:

the ggvis chart

label:

Optional display label for the insight. If NULL, the id will be used as label

Value

Nothing

Examples

# NOT RUN {
# Prepare the chart
chart <- mtcars %>% ggvis(~wt, ~mpg) %>% layer_points()

# Save it as an insight
dkuSaveGgvisInsight("my-ggvis-plot", chart)
# }