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.
}
|