File: dyPlugin.Rd

package info (click to toggle)
r-cran-dygraphs 1.1.1.6%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,232 kB
  • sloc: javascript: 10,787; sh: 19; makefile: 15
file content (36 lines) | stat: -rw-r--r-- 1,154 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dependency.R
\name{dyPlugin}
\alias{dyPlugin}
\title{Include a dygraph plugin}
\usage{
dyPlugin(dygraph, name, path, options = list(), version = "1.0")
}
\arguments{
\item{dygraph}{Dygraph to add plugin to}

\item{name}{Name of plugin}

\item{path}{Path to plugin JavaScript file}

\item{options}{Named list of options to pass to plugin constructor}

\item{version}{Plugin version (e.g. version of package which provides the plugin)}
}
\value{
A dygraph with the specified plugin enabled.
}
\description{
Include a dygraph 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
\href{https://github.com/danvk/dygraphs/tree/master/src/plugins}{dygraphs plugins}
documentation.
Once you've created a dygraphs plugins you can use the dyPlugin function to
create an R wrapper for it. See
\href{https://rstudio.github.io/dygraphs/gallery-plugins.html}{https://rstudio.github.io/dygraphs/gallery-plugins.html}
for details on how to do this.
}