-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
I'm trying to draw standard plots with WebGL but the lines remain invisible :(
The data is loaded correctly, as you can see the values when hovering on the points, so it seems to be a problem of rendering for the lines. Note the markers (X) are correctly shown.
For WebGL i'm using data.type="scattergl"
instead of the usual scatter
. The reason is i have several hundreds of thousands of points to visualize and it's way faster with WebGL. Note the problem also occurs if i load very little data. However if i plot with scatter
it works fine! So the code should be good.
I'm using Angular with the standard plotly wrapper so i opened a ticket there as well but i can't tell yet where the bug is. Also note if i build my angular app in dev mode, i.e. without build optimization, it works! So it's the combination of scattergl + prod mode that fails. Any idea to explain this bug?
I'm sorry i can't provide you an online code and seen it depends on the build mode it wouldn't be relevant. But it may be something you've already seen such as this #3405 (but it was for react.js!) or maybe you can give me some tips.
Thank you in advance for any help.