Convert trace types to WebGL

toWebGL(p)

Arguments

p

a plotly or ggplot object.

Examples


# currently no bargl trace type
toWebGL(ggplot() + geom_bar(aes(1:10)))
toWebGL(qplot(1:10, 1:10))