Description Usage Arguments Value Examples
Add a gradient legend in a topogram()
widget.
1 2 3 4 5 6 7 8 9 10 |
topo |
A |
colors |
Vector of colors used in legend, default is to use colors used in |
labels |
Labels to display for values, default is to use range of values used in |
formatter |
Function to format labels, like |
title |
Title for the legend. |
direction |
Direction: horizontal or vertical. |
height, width |
Height, width for legend. For gradient legend it represent the size of the dradient according to direction. |
A topogram()
/ topogram_proxy()
htmlwidget
object.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.