Description Usage Arguments See Also Examples
Add gauge.
1 2 3 4 5 6 7 8 9 10 11 | egauge(p, value, indicator = "", name = NULL, clickable = FALSE,
legendHoverLink = TRUE, center = list("50%", "50%"),
radius = list("0%", "75%"), startAngle = 225, endAngle = -45,
min = 0, max = 100, splitNumber = 10, z = 2, zlevel = 0, tooltip,
...)
egauge_(p, value, indicator = "", name = NULL, clickable = FALSE,
legendHoverLink = TRUE, center = list("50%", "50%"),
radius = list("0%", "75%"), startAngle = 225, endAngle = -45,
min = 0, max = 100, splitNumber = 10, z = 2, zlevel = 0, tooltip,
...)
|
p |
an echart object. |
value |
value to plot. |
indicator |
indicator appearing in center of gauge. |
name |
name of serie. |
clickable |
whether the item is clickable. |
legendHoverLink |
enables legend hover link. |
center |
center of gauge in pixels of percent. |
radius |
radius of gauge in pixels of percent. |
startAngle, endAngle |
start and end angles of gauge. |
min, max |
minimum and maximum of gauge. |
splitNumber |
number of segments. |
z, zlevel |
first and second grade cascading control, the higher z the closer to the top. |
tooltip |
customise tooltip. |
... |
any other arguments. |
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.