sipss / GCIMS

Other
3 stars 0 forks source link

Interactive plots with lots of overlayed peaks appear blank #16

Closed zeehio closed 1 year ago

zeehio commented 1 year ago

Problem 1

plotly does not support annotation_raster between geoms, and places it above or below all of them. When we have a sample plotted with overlayed rectangles, the rectangles are not seen because they appear below the image. https://github.com/plotly/plotly.R/blob/9ee548023bba6d68dd953f46485b2e611026766b/R/layers2layout.R#L12

Actions:

Problem 2

ggplotly is not hiding one of the legends

Action:

Problem 3

When a legend appears and it doesn't have enough space, plotly js fails with a JavaScript error and the plot becomes a blank page

Actions: