powered by
Gauge shapes.
gauge_shape(g2, shapes = NULL, callback = NULL)
An object of class g2r as returned by g2r.
g2r
A vector of shapes.
A JavaScript callback function (see cb) which returns a color.
cb
# NOT RUN { g2(mtcars, asp(mpg, qsec, shape = am)) %>% fig_point() %>% gauge_shape(c("hollowDiamond", "hollowBowtie")) # }
Run the code above in your browser using DataLab