Server for chart module, designed to be re-used for each chart generated.

chartsTab(input, output, session, chart, data, mapping)

Arguments

input

Input objects from module namespace

output

Output objects from module namespace

session

An environment that can be used to access information and functionality relating to the session

chart

list containing a safetyGraphics chart object like those returned by makeChartConfig.

data

named list of current data sets (Reactive).

mapping

tibble capturing the current data mappings (Reactive).