dyPlugin: Include a dygraph plugin

Description Usage Arguments Details Value

View source: R/dependency.R

Description

Include a dygraph plugin

Usage

1
dyPlugin(dygraph, name, path, options = list(), version = "1.0")

Arguments

dygraph

Dygraph to add plugin to

name

Name of plugin

path

Path to plugin JavaScript file

options

Named list of options to pass to plugin constructor

version

Plugin version (e.g. version of package which provides the plugin)

Details

You can use dygraphs plugins to customize the appearance of dygraphs as well as add new interactive behaviors. For additional information on creating dygraphs plugins see the dygraphs plugins documentation. Once you've created a dygraphs plugins you can use the dyPlugin function to create an R wrapper for it. See https://rstudio.github.io/dygraphs/gallery-plugins.html for details on how to do this.

Value

A dygraph with the specified plugin enabled.


dygraphs documentation built on May 2, 2019, 3:34 p.m.

Related to dyPlugin in dygraphs...