hide_trace_idx | R Documentation |
Provide trace ids to set to invisible
hide_trace_idx(trace_map, max_groups, selected_groups)
trace_map |
matrix, with cols trace name (col 1), trace id (col 2) |
max_groups |
numeric, number of groups in grouptable |
selected_groups |
groups highlighted in grouptable |
Provides the indices (JS notation, starting at 0) for indices
that are set to visible = 'legendonly'
through plotly.restyle
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.