Skip to contents

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 –, or from examples.

Examples

if (interactive()) {
 # run with  demo(eshiny, package='echarty')
}
#> NULL