powered by
Gauge label.
gauge_label(g2, ..., callback = NULL)
An object of class g2r as returned by g2r.
g2r
Any option, aesthetic (asp), or animation (Animation).
asp
Animation
A JavaScript callback function (see cb) which returns a color.
cb
# NOT RUN { g2(mtcars, asp(mpg, qsec, shape = drat)) %>% fig_point() %>% gauge_label(textStyle = list(rotate = 30)) # }
Run the code above in your browser using DataLab