EVOLUTION-MANAGER
Edit File: hc_legend.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: Legend options for highcharter 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_legend {highcharter}"><tr><td>hc_legend {highcharter}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Legend options for highcharter objects</h2> <h3>Description</h3> <p>The legend is a box containing a symbol and name for each series item or point item in the chart. Each series (or points in case of pie charts) is represented by a symbol and its name in the legend. It is possible to override the symbol creator function and create custom legend symbols. </p> <h3>Usage</h3> <pre> hc_legend(hc, ...) </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>...</code></td> <td> <p>Arguments defined in <a href="https://api.highcharts.com/highcharts/legend">https://api.highcharts.com/highcharts/legend</a>.</p> </td></tr> </table> <h3>Details</h3> <p>A Highmaps legend by default contains one legend item per series, but if a colorAxis is defined, the axis will be displayed in the legend. Either as a gradient, or as multiple legend items for dataClasses. </p> <h3>Examples</h3> <pre> highchart() %>% hc_xAxis(categories = month.abb) %>% hc_add_series(name = "Tokyo", data = sample(1:12)) %>% hc_add_series(name = "London", data = sample(1:12) + 10) %>% hc_add_series(name = "Other City", data = sample(1:12) + 20) %>% hc_legend( align = "left", verticalAlign = "top", layout = "vertical", x = 0, y = 100 ) </pre> <hr /><div style="text-align: center;">[Package <em>highcharter</em> version 0.9.4 <a href="00Index.html">Index</a>]</div> </body></html>