Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple axes with scattergl traces causes left axes labels to be cut off #128

Closed
halfs13 opened this issue Dec 17, 2015 · 5 comments
Closed
Milestone

Comments

@halfs13
Copy link

halfs13 commented Dec 17, 2015

Visible in this JSfiddle. This may be caused by the same problem that is causing #127.

This also happens with a single x axis and multiple y axes if y is marked side: 'left' and y2 is side: 'right'

@etpinard
Copy link
Contributor

Overlaid axes are not supported in gl2d graphs at the moment.

@halfs13 Thanks for bringing this up. I forgot to port over the known gl2d limitations from plotly's closed-source repo to this repo.

The complete list of known gl2d limitations is in: #130

@etpinard
Copy link
Contributor

@halfs13

Moreover, in all fairness, I do not recommend making gl2d graphs with multiple axes at the moment.

The current framework creates one canvas and one gl-context per pair of axes, which can be very slow to initialize.

In its current form, gl2d works great for big data on a single x-y plane. For other layouts, I'd would stick to svg2d.

In the future, we would like to create only one canvas and only one gl-context for all axes.

@etpinard
Copy link
Contributor

etpinard commented Jan 8, 2018

Will be fixed by @dfcreative 's regl-based scattergl work:

image

@dy
Copy link
Contributor

dy commented Jan 15, 2018

Test mock d646e2c

@etpinard
Copy link
Contributor

done in #2258 (finally)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants