When visualizing multiple series in a dygraph, it can be helpful to have the series be in the same order in the legend.
1 | reorder_columns(x, decreasing = TRUE)
|
x |
a |
decreasing |
which way to sort; |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.