Description Usage Arguments Value
Build a legend of colored label text.
1 | customLegend(labs, col, halfRange)
|
labs |
Text vector containing all labels. |
col |
Color vector containing corresponding colors. |
halfRange |
Half range parameter used in the plot (for positioning) |
Vector of list to use as annotation in a plotly layout call for generating the custom legend.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.