toWebGL: Convert trace types to WebGL

View source: R/helpers.R

toWebGLR Documentation

Convert trace types to WebGL

Description

Convert trace types to WebGL

Usage

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))


ropensci/plotly documentation built on Jan. 25, 2024, 6:09 p.m.