ecs.exec {echarty}R Documentation

Shiny: Execute a proxy command

Description

Once chart changes had been made, they need to be sent back to the widget for display

Usage

ecs.exec(proxy, cmd = "p_merge")

Arguments

proxy

A ecs.proxy object

cmd

Name of command, default is p_merge
The proxy commands are:
p_update - add new series and axes
p_merge - modify or add series features like style,marks,etc.
p_replace - replace entire chart
p_del_serie - delete a serie by index or name
p_del_marks - delete marks of a serie
p_append_data - add data to existing series
p_dispatch - send action commands, see documentation

Value

A proxy object to update the chart.

See Also

ecs.proxy, ecs.render, ecs.output
Read about event handling in – Introduction –, code in ec.examples.

Examples

if (interactive()) {
   demo(eshiny, package='echarty')
}


[Package echarty version 1.6.3 Index]