Learn R Programming

safetyGraphics (version 1.1.0)

createChart: Create a custom static or plotly R graphic

Description

Create a custom static or plotly R graphic

Usage

createChart(type, rSettings)

Arguments

type

Type of chart. Options are "static" or plotly.

rSettings

List containing all arguments needed for chart creation: rSettings = list( data = data, debug_js=debug_js, chartFunction = chartFunction, settings = jsonlite::toJSON( settings, auto_unbox = TRUE, null = "null" ))