EVOLUTION-MANAGER
Edit File: hc_add_event_point.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: Helpers to use highcharter as input in shiny apps</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_event_point {highcharter}"><tr><td>hc_add_event_point {highcharter}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Helpers to use highcharter as input in shiny apps</h2> <h3>Description</h3> <p>When you use highcharter in a shiny app, for example <code>renderHighcharter('my_chart')</code>, you can access to the actions of the user using and then use the <code>hc_add_event_point</code> via the <code>my_chart</code> input (<code>input$my_chart</code>). That's a way you can use a chart as an input. </p> <h3>Usage</h3> <pre> hc_add_event_point(hc, series = "series", event = "click") hc_add_event_series(hc, series = "series", event = "click") </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>series</code></td> <td> <p>The name of type of series to apply the event.</p> </td></tr> <tr valign="top"><td><code>event</code></td> <td> <p>The name of event: click, mouseOut, mouseOver. See <a href="https://api.highcharts.com/highcharts/plotOptions.areasplinerange.point.events.select">https://api.highcharts.com/highcharts/plotOptions.areasplinerange.point.events.select</a> for more details.</p> </td></tr> </table> <h3>Note</h3> <p>Event details are accessible from hc_name_EventType, i.e. if a highchart is rendered against output$my_hc and and we wanted the coordinates of the user-clicked point we would use input$my_hc_click </p> <hr /><div style="text-align: center;">[Package <em>highcharter</em> version 0.9.4 <a href="00Index.html">Index</a>]</div> </body></html>