Description Usage Arguments See Also Examples
Add funnel
1 2 3 4 5 6 7 8 9 10 | efunnel(p, serie, name = NULL, clickable = TRUE, legendHoverLink = TRUE,
sort = "descending", min = NULL, max = NULL, x = 80, y = 60,
x2 = 80, y2 = 60, width = NULL, height = NULL,
funnelAlign = "center", minSize = "0%", maxSize = "100%", gap = 0,
tooltip, ...)
efunnel_(p, serie, name = NULL, clickable = TRUE, legendHoverLink = TRUE,
sort = "descending", min = 0, max = NULL, x = 80, y = 60, x2 = 80,
y2 = 60, width = NULL, height = NULL, funnelAlign = "center",
minSize = "0%", maxSize = "100%", gap = 0, tooltip, ...)
|
p |
an echart object. |
serie |
values to plot. |
name |
name of serie. |
clickable |
whether segments are clickable. |
legendHoverLink |
enables legend hover link. |
sort |
data sorting, takes |
min, max |
minimum and maximum values of funnel. |
x, y, x2, y2 |
coordinates of funnel. |
width, height |
width and height of funnel. |
funnelAlign |
alignment of funnel takes |
minSize, maxSize |
minimum and maximum size of funnel. |
gap |
gap between segments. |
tooltip |
cutomise tooltip. |
... |
any other argument to pass to funnel. |
1 2 3 4 5 | funnel <- data.frame(stage = c("View", "Click", "Purchase"), value = c(80, 30, 20))
funnel %>%
echart(stage) %>%
efunnel(value)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.