toWebGL: Convert trace types to WebGL

Description Usage Arguments Examples

View source: R/helpers.R

Description

Convert trace types to WebGL

Usage

1

Arguments

p

a plotly or ggplot object.

Examples

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

plotly documentation built on Feb. 13, 2020, 1:07 a.m.