Learn R Programming

echarts4r (version 0.2.0)

e_gauge: Gauge

Description

Plot a gauge.

Usage

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.

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

Run this code
# NOT RUN {
e_charts() %>% 
  e_gauge(57, "PERCENT")

# }

Run the code above in your browser using DataLab