EVOLUTION-MANAGER
Edit File: hc_add_dependency.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Add modules or plugin dependencies to highcharts objects</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for hc_add_dependency {highcharter}"><tr><td>hc_add_dependency {highcharter}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Add modules or plugin dependencies to highcharts objects</h2> <h3>Description</h3> <p>Add modules or plugin dependencies to highcharts objects </p> <h3>Usage</h3> <pre> hc_add_dependency(hc, name = "plugins/annotations.js") </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>hc</code></td> <td> <p>A <code>highchart</code> <code>htmlwidget</code> object.</p> </td></tr> <tr valign="top"><td><code>name</code></td> <td> <p>The partial path to the plugin or module, example: <code>"plugins/annotations.js"</code></p> </td></tr> </table> <h3>Details</h3> <p>See <code>vignette("modules")</code> </p> <h3>Examples</h3> <pre> data(mpg, package = "ggplot2") hchart(mpg, "point", hcaes(displ, hwy), regression = TRUE, regressionSettings = list(type = "polynomial", order = 5, hideInLegend = TRUE) ) %>% hc_add_dependency("plugins/highcharts-regression.js") hchart(mpg, "point", hcaes(displ, hwy, group = drv), regression = TRUE) %>% hc_colors(c("#d35400", "#2980b9", "#2ecc71")) %>% hc_add_dependency("plugins/highcharts-regression.js") </pre> <hr /><div style="text-align: center;">[Package <em>highcharter</em> version 0.9.4 <a href="00Index.html">Index</a>]</div> </body></html>