echarts4r
home redraw loading data graph connect events series

echarts4r*

using shiny*



Website
Source code

Redraw

echarts4r lets you redraw you chart in a neat manner (without redrawing the whole base chart), which makes for neat animations


Hit "redraw" to see it in action



Use echarts4r like you normally would but pass dispose = TRUE when you initialise the chart with e_charts or e_chart.


Loading

If your plot or data takes a while to generate you can add a loading icon.




Add data

Use e_append1p_p or e_append2p_p to add data to a proxy ( echarts4rProxy ).


Nodes adjacency


Connect charts

Because the series bare the same name they are connected, one will trigger the other. The e_datazoom is also connected.


Events

echarts4r lets you capture elements selected, or cliked (many more detailed on the package website ).

Brushed


              

Legend change


              

Mouseover


            

Clicked data point


            

Clicked serie


            

Clicked Row


            

Series

In the latest version 0.3.0.9000 you can dynamically add and remove entire series without redrawing the entire chart.


The buttons below will let you add and remove the curve.