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

Fixes pie unhover event #407

Merged
merged 3 commits into from Apr 8, 2016
Merged

Conversation

bcutrell
Copy link

@bcutrell bcutrell commented Apr 8, 2016

Mirrors fix for adding pie hover events added here: https://github.com/plotly/plotly.js/pull/150/files

@@ -14,6 +14,7 @@ var Fx = require('../../plots/cartesian/graph_interact');
var Color = require('../../components/color');
var Drawing = require('../../components/drawing');
var svgTextUtils = require('../../lib/svg_text_utils');
var Plotly = require('../../plotly');
Copy link
Contributor

Choose a reason for hiding this comment

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

We have been favoring this pattern:

var Fx = require('../../plots/components/graph_interact')

lately.

@etpinard
Copy link
Contributor

etpinard commented Apr 8, 2016

@bcutrell Nice PR! Thanks 🍻

A few things before we this one in:

  • make sure that npm run lint return no errors
  • require Fx directly in pie/plot.js
  • merge the unhover test suite in test/jasmine/tests/unhover_pie_test.js

Thanks again.

@bcutrell
Copy link
Author

bcutrell commented Apr 8, 2016

Ah, good call, thanks for the quick feedback

@mdtusz
Copy link
Contributor

mdtusz commented Apr 8, 2016

Seems reasonable to me.

💃

@mdtusz mdtusz merged commit f67212e into plotly:master Apr 8, 2016
@mdtusz
Copy link
Contributor

mdtusz commented Apr 8, 2016

Thanks for the contribution @bcutrell!

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

Successfully merging this pull request may close these issues.

None yet

3 participants