| sframe_plot_item_chart | R Documentation |
Shared by launch_dashboard() (inst/shiny/dashboard/app.R) and the
SurveyStudio dashboard tab (inst/shiny/app.R), which otherwise
duplicated this base-graphics chart. Callers fall back to their own base
graphics when this returns NULL (ggplot2 not installed, unsupported
item type, or no data), so the dashboard keeps working without ggplot2.
sframe_plot_item_chart(
item,
col_data,
choice_set = NULL,
palette = c("web", "print")
)
item |
A list with at least |
col_data |
The response column for this item. |
choice_set |
A list with |
palette |
One of |
A ggplot2 object, or NULL if this item type/data is unsupported.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.