Description Usage Arguments Value Examples
This is mainly used to ensure that similar properties share the same
scale by default - e.g. x
and x2
should use the same
scale.
1 |
prop |
character vector of property names. Any unrecognised names are left unchanged. |
character vector of default scale names.
1 2 3 | propname_to_scale(c("x", "x2"))
propname_to_scale(c("foo", "bar"))
propname_to_scale(c("opacity", "fillOpacity", "strokeOpacity"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.