Plot Decorator Class
Plot.Rd
This class is a decorator
and is not meant to be directly used, but to be
inherited by other modules, like PlotStaic
, PlotWidget
, and PlotPlotly
.
Details
The inherited Plot
modules evaluate the provided function with a provided
data object.
To add a new plot type it is required to inherit from the Plot
class, and
to override the private .UI()
and .server()
methods.
Super class
DarwinShinyModules::ShinyModule
-> Plot
Active bindings
title
(
character(1)
) Title to use for the plot.fun
Plotting function.
args
(
reactiveValues
) Arguments used for plot.plot
Plot object.
Methods
Method new()
initialize
Usage
Plot$new(fun, args, title = "Plot")