powered by
Improve readability by chaining commands
ec.upd(wt, ...)
An echarty widget
A commands expression to update option lists
Replaces syntax p <- ec.init(...) p$x$opts$series <- ... with ec.init(...) |> # set or preset chart params ec.upd({series <- ...}) # update params thru R commands
Orange |> dplyr::group_by(Tree) |> ec.init() |> ec.upd({ series <- lapply(series, function(x) { x$symbolSize= 10; x$encode= list(x='age', y='circumference'); x } ) })
Run the code above in your browser using DataLab