Last active
August 29, 2015 14:20
-
-
Save pbeshai/6266524329e223aee11b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_handleHover(d) { | |
// send an action indicating which data point to highlight | |
ChartActions.highlight(d); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<circle key={i} r={r(d[radiusKey])} cx={width / 2} | |
cy={-r(0) / 2} strokeWidth={strokeWidth} stroke={color(d[colorKey])} | |
onMouseOver={this._handleHover.bind(this, d)} | |
onMouseOut={this._handleHover.bind(this, null)} /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment