e_gauge | R Documentation |
Plot a gauge.
e_gauge(e, value, name, rm_x = TRUE, rm_y = TRUE, ...)
e_gauge_(e, value, name, rm_x = TRUE, rm_y = TRUE, ...)
e |
An |
value |
Value to gauge. |
name |
Text on gauge. |
rm_x, rm_y |
Whether to remove x and y axis, defaults to |
... |
Any other option to pass, check See Also section. |
e_charts() |>
e_gauge(57, "PERCENT")
# timeline
data.frame(time = 2015:2017) |>
group_by(time) |>
e_charts(timeline = TRUE) |>
e_gauge(
c(57, 23, 65),
c("percent", "percentage", "cases")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.