Add a slider to the chart.

slider(g, ...)

Arguments

g

An object of class g2r or g2Proxy as returned by g2() or g2_proxy().

...

Options to pass to the slider.

See also

The official documentation for the list options to pass to ....