View source: R/plotly_restyle.R
get_restyleInfo | R Documentation |
List the difference of traces from two plots
get_restyleInfo(plt0, plt1, traceId)
plt0 |
current plotly plot |
plt1 |
new plotly plot |
traceId |
the name of one plotly_build data column that identifies trace. If not sure, checkTraceColumns(plt0) will give you all the available columns across traces. |
a list of two, one tell which traces have changed, the other give the restyle content of each changed trace.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.