EVOLUTION-MANAGER
Edit File: hcpxy_set_data.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: Update data for a higchartProxy object</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 hcpxy_set_data {highcharter}"><tr><td>hcpxy_set_data {highcharter}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Update data for a higchartProxy object</h2> <h3>Description</h3> <p>Update data for a higchartProxy object </p> <h3>Usage</h3> <pre> hcpxy_set_data( proxy, type, data, mapping = hcaes(), redraw = FALSE, animation = NULL, updatePoints = TRUE ) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>proxy</code></td> <td> <p>A <code>higchartProxy</code> object.</p> </td></tr> <tr valign="top"><td><code>type</code></td> <td> <p>series type (column, bar, line, etc)</p> </td></tr> <tr valign="top"><td><code>data</code></td> <td> <p>dataframe of new data to send to chart</p> </td></tr> <tr valign="top"><td><code>mapping</code></td> <td> <p>how data should be mapped using <code>hcaes()</code></p> </td></tr> <tr valign="top"><td><code>redraw</code></td> <td> <p>boolean Whether to redraw the chart after the series is altered. If doing more operations on the chart, it is a good idea to set redraw to false and call hcpxy_redraw after.</p> </td></tr> <tr valign="top"><td><code>animation</code></td> <td> <p>boolean When the updated data is the same length as the existing data, points will be updated by default, and animation visualizes how the points are changed. Set false to disable animation, or a configuration object to set duration or easing.</p> </td></tr> <tr valign="top"><td><code>updatePoints</code></td> <td> <p>boolean When this is TRUE, points will be updated instead of replaced whenever possible. This occurs a) when the updated data is the same length as the existing data, b) when points are matched by their id's, or c) when points can be matched by X values. This allows updating with animation and performs better. In this case, the original array is not passed by reference. Set FALSE to prevent.</p> </td></tr> </table> <hr /><div style="text-align: center;">[Package <em>highcharter</em> version 0.9.4 <a href="00Index.html">Index</a>]</div> </body></html>