EVOLUTION-MANAGER
Edit File: hc_pane.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: Pane 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_pane {highcharter}"><tr><td>hc_pane {highcharter}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Pane options for highcharter objects</h2> <h3>Description</h3> <p>The pane serves as a container for axes and backgrounds for circular gauges and polar charts. </p> <h3>Usage</h3> <pre> hc_pane(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/pane">https://api.highcharts.com/highcharts/pane</a>.</p> </td></tr> </table> <h3>Examples</h3> <pre> highchart() %>% hc_chart( type = "gauge", plotBackgroundColor = NULL, plotBackgroundImage = NULL, plotBorderWidth = 0, plotShadow = FALSE ) %>% hc_title( text = "Speedometer" ) %>% hc_pane( startAngle = -150, endAngle = 150, background = list(list( backgroundColor = list( linearGradient = list(x1 = 0, y1 = 0, x2 = 0, y2 = 1), stops = list( list(0, "#FFF"), list(1, "#333") ) ), borderWidth = 0, outerRadius = "109%" ), list( backgroundColor = list( linearGradient = list(x1 = 0, y1 = 0, x2 = 0, y2 = 1), stops = list( list(0, "#333"), list(1, "#FFF") ) ), borderWidth = 1, outerRadius = "107%" ), list( # default background ), list( backgroundColor = "#DDD", borderWidth = 0, outerRadius = "105%", innerRadius = "103%" )) ) %>% hc_add_series( data = list(80), name = "speed", tooltip = list(valueSuffix = " km/h") ) %>% hc_yAxis( min = 0, max = 200, minorTickInterval = "auto", minorTickWidth = 1, minorTickLength = 10, minorTickPosition = "inside", minorTickColor = "#666", tickPixelInterval = 30, tickWidth = 2, tickPosition = "inside", tickLength = 10, tickColor = "#666", labels = list( step = 2, rotation = "auto" ), title = list( text = "km/h" ), plotBands = list( list(from = 0, to = 120, color = "#55BF3B"), list(from = 120, to = 160, color = "#DDDF0D"), list(from = 160, to = 200, color = "#DF5353") ) ) </pre> <hr /><div style="text-align: center;">[Package <em>highcharter</em> version 0.9.4 <a href="00Index.html">Index</a>]</div> </body></html>