get_legendGroupTitles | R Documentation |
Get legend group titles in trace orders
get_legendGroupTitles(df, label_by, group_by)
df |
a dataframe |
label_by |
a name. The column of df that is used to generate legend label |
group_by |
a name. The column of df that is used for legendgroup. |
a character vector of legendgrouptitles in trace order.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.