Scattergl not rendering markers (but hovering works) depending on users
See original GitHub issueHello,
(I am aware similar issues have already been reported (#3751 for instance), but my own issue does not seems linked to the number of points nor a browser version)
I am currently using a scattergl plot with markers on my website, and some users have reported an issue with the graph not actually showing up, despite the markers being hoverable (only on firefox, not chrome). Using ‘lines’ instead of markers do work.
Same issue occurs on the example page for scatterGl:
I have tested with two computers with different OSes:
- Windows 7 -> The graph shows up in IE11, but not in chrome(79.0.3945) or firefox(72.0.2).
- Windows 10 -> The graph shows up in all three browsers (same versions)
But the issue seems to be unrelated to the OS, as users with Debian9 or Windows 10 also reported the issue.
There are no warnings nor errors in the firefox console. In the chrome console, there is this error:
Uncaught TypeError: Cannot read property 'regl' of null
at new y (plotly-latest.min.js:7)
at e.exports (plotly-latest.min.js:7)
at Object.e.exports [as plot] (plotly-latest.min.js:7)
at d (plotly-latest.min.js:7)
at Object.r.plot (plotly-latest.min.js:7)
at r.drawData (plotly-latest.min.js:7)
at Object.l.syncOrAsync (plotly-latest.min.js:7)
at Object.r.plot (plotly-latest.min.js:7)
at Object.r.newPlot (plotly-latest.min.js:7)
at Object.success (studies_graph.js:226)
Though it might be an effect of the issue instead of the cause (it seems to pop up when resizing the graph)
Any idea of what could be the cause of this issue?
Since the issue persisted through a format and OS-reinstall, it might be an hardware issue.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Hello, After some more tests, it is definitly hardware-related. Seems like my GPU (Quadro FX 580 (10-years old gpu)) has trouble with ANGLE rendering
Just in case someone has the same issue, I managed to make the graph show up in firefox by setting
and by launching Chrome with --use-angle=gl (no further changes needed)
This force the browser to use opengl instead of angle. Since it’s hardware-related, this ticket can be safely closed I think.
On firefox (no error in the console) :
On chrome :
(Nothing shows up, not even tooltips) There is an error in the console :