ggtrace icon indicating copy to clipboard operation
ggtrace copied to clipboard

test (and if needed fix) compatibility with plotly

Open raysinensis opened this issue 4 years ago • 5 comments

for interactive integration with shiny

raysinensis avatar Sep 23 '21 16:09 raysinensis

currently, it's easy to coerce GeomPointTrace/GeomLineTrace to simple dot/line plot in ggplotly()

geom2trace.GeomPointTrace <- getFromNamespace("geom2trace.GeomPoint", asNamespace("plotly"))
to_basic.GeomLineTrace <- getFromNamespace("to_basic.GeomLine", asNamespace("plotly"))

Actual features of the package though, will take more digging

raysinensis avatar Sep 27 '21 21:09 raysinensis

Extremely hacky way to get here: Screen Shot 2021-09-27 at 5 06 17 PM Several issues, mainly ggplotly() converts 1 ggplot object layer to 1 set of scatter to draw

raysinensis avatar Sep 27 '21 23:09 raysinensis

by group plotting would be possible if we change data to 1 layer

raysinensis avatar Oct 01 '21 18:10 raysinensis

This is a good idea and should be feasible, but I think we should resolve #39 before any further restructuring of the functions

sheridar avatar Oct 01 '21 18:10 sheridar

agreed

raysinensis avatar Oct 01 '21 21:10 raysinensis