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


plotly/plotly.R documentation built on Dec. 20, 2024, 6:40 a.m.