Saves a ggplot figure as a DSS static insight that can be exposed on the dashboard
dkuSaveGgplotInsight(id, gg = last_plot(), label = NULL, scale = 1, width = NA, height = NA, dpi = 300)
id: | Unique identifier of the insight within the project. If an insight with the same identifier already exists, it will be replaced |
---|---|
vis: | The ggplot figure. if NULL, the latest rendered ggplot figure will be used |
label: | Optional display label for the insight. If NULL, the id will be used as label |
Nothing