e_gauge: Gauge

Description Usage Arguments See Also Examples

View source: R/add.R

Description

Plot a gauge.

Usage

1
2
3
e_gauge(e, value, name, rm_x = TRUE, rm_y = TRUE, ...)

e_gauge_(e, value, name, rm_x = TRUE, rm_y = TRUE, ...)

Arguments

e

An echarts4r object as returned by e_charts or a proxy as returned by echarts4rProxy.

value

Value to gauge.

name

Text on gauge.

rm_x, rm_y

Whether to remove x and y axis, defaults to TRUE.

...

Any other option to pass, check See Also section.

See Also

Additional arguments

Examples

1
2
e_charts() |>
  e_gauge(57, "PERCENT")

JohnCoene/echarts4 documentation built on July 27, 2021, 5:20 p.m.