question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

gl2d known limitations

See original GitHub issue

A list of known limitations in gl2d graphs in comparison with svg2d feature set:

  • image export isn’t reliable (meaning gl2d graphs have no image test support)
  • scatter mode: 'text' (for text charts) is not available
  • ‘free’ axes and ‘overlaying’ axes are not available. But subplots, insets, shared axes work. Hurdles: free axes with custom ‘position’ would need an option to make a gap between the data-box and the axis in gl-plot2d, overlaying axes would need more logic around when to show grid lines, scene backgroud color and have hover events propagate down. ✅ Fixed with regl.
  • data-reference annotations/shapes are not available (paper-reference annotations/shapes work)
  • fill options tonexty, tonexty, and toself are not avaliable (tozerox and tozeroy work) ✅ Fixed with regl.
  • the marker.symbol is pretty good since v1.28.0 but not on-par with svg ✅ Fixed with regl.
  • px-specified line.dash are not available
  • no line.shape: 'spline' update: 'hv', 'vh', 'hvh', 'vhv' added in https://github.com/plotly/plotly.js/pull/3087
  • axis titles are not centered (positioning algo does not consider text width)
  • tick marks don’t support \n (most common in date axes)
  • axes don’t support decreasing (custom or with autorange: 'reversed') ranges. ✅ Fixed with regl.
  • hovermode x and y are not available (toggling hover on/off in modebar works). ✅ Fixed with regl.
  • no support for axis fixedrange (would need to tweak gl-select-box). ✅ Fixed with regl.
  • double click and shift click interactions are not supported. ✅ Fixed with regl.
  • cartesian + gl2d subplot on the same graph are not supported. ✅ Fixed with regl.
  • plotly_hover, plotly_unhover and plotly_click are not emitted [done in #994]
  • setting hoverinfo to 'none' should disable the hover spikes. ✅ Fixed with regl.
  • a hover spikes sometimes appears prematurely after initial Plotly.plot call
  • select box and lasso selections are not supported
  • single-axis zoom/pan and corner zoom interactions are not supported
  • zoom-box doesn’t follow cursor outside the plot bounds (i.e. no cover slip). ✅ Fixed with regl.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:6
  • Comments:13 (9 by maintainers)

github_iconTop GitHub Comments

4reactions
destradafilmcommented, May 26, 2017

can you also include ADD d3 events to plotly_click plotly_hover plotly_unhover events? Same as non webgl version?

2reactions
etpinardcommented, Nov 8, 2018

… if so, the only remaining items in the list above are:

pretty good 🎉

Read more comments on GitHub >

github_iconTop Results From Across the Web

gl2d - npm Package Health Analysis - Snyk
The npm package gl2d was scanned for known vulnerabilities and missing license, and no issues were found. Thus the package was deemed as ......
Read more >
plotly.js-gl2d-dist-min | Yarn - Package Manager
Ready-to-use minified plotly.js gl2d distributed bundle. Contains trace modules heatmapgl , parcoords , pointcloud , scatter , scattergl and splom .
Read more >
Array Texture - OpenGL Wiki
Each image within a mipmap is called a "layer". ... Array texture sizes are normally limited to the usual GL_MAX_TEXTURE_SIZE limitation.
Read more >
Performance considerations w.r.t. highly interactive plots ...
WebGl vs SVG -> limitations of Scattergl; gl2d known limitations -> known limitations in gl2d graphs in comparison with svg2d.
Read more >
Junos OS Release Notes for the QFX Series - Juniper Networks
These release notes accompany Junos OS Release 17.3R3 for the QFX Series. They describe new and changed features, limitations, and known and resolved ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found