Learn R Programming

plotly (version 4.10.3)

toWebGL: Convert trace types to WebGL

Description

Convert trace types to WebGL

Usage

toWebGL(p)

Arguments

p

a plotly or ggplot object.

Examples

Run this code

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

Run the code above in your browser using DataLab