This documentation may lag behind the latest version, use the documentation provided with the package for up to date information.
within an SVG image. When used in conjunction with
define the behaviour of the SVG document with regards to interactivity.
The usage of the function is defined as follows:
grid.script(script = NULL, filename = NULL, type = "application/ecmascript", inline = FALSE, name = NULL)
script parameter). The
inline parameter is also useful as it can
external resource (this is implied when using the
script argument). A
grid.script() is shown below: