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

Improve gl2d interactions #855

Merged
merged 6 commits into from
Aug 18, 2016
Merged

Improve gl2d interactions #855

merged 6 commits into from
Aug 18, 2016

Conversation

etpinard
Copy link
Contributor

fixes #830 and #545

In brief

  • heatmapgl and contourgl traces rescale properly when click on the reset axes and autoscale modebar button via 330c5f3
  • toggling gl2d trace via the legend preserves the current axis range (post interactions) via e0d05f6

@@ -336,10 +335,11 @@ proto.plot = function(fullData, calcData, fullLayout) {
var glplot = this.glplot,
pixelRatio = this.pixelRatio;

var i, j, trace;
var i;
Copy link
Contributor

@mdtusz mdtusz Aug 18, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor grievance 🐄 - move this closer down to where it's used.

@mdtusz
Copy link
Contributor

mdtusz commented Aug 18, 2016

💃 after the airing of 🐄 grievances.

@etpinard etpinard merged commit 7e2448e into master Aug 18, 2016
@etpinard etpinard deleted the gl2d-reset-axes branch August 18, 2016 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reset axes / auto size mode bar button do not work for heatmapgl & contourgl traces
2 participants