Skip to content

Commit

Permalink
Merge pull request #473 from stormpython/feature/issue_#471
Browse files Browse the repository at this point in the history
Closes issues #471.
  • Loading branch information
rashidkpc committed Oct 3, 2014
2 parents 05c7847 + a574448 commit ee71491
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/kibana/components/vislib/lib/tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@ define(function (require) {
element
.on('mousemove.tip', function (d) {
var placement = self.getTooltipPlacement(d3.event);
var events = self.events ? self.events.eventResponse(d, i) : d;

// return text and position for tooltip
return tooltipDiv.datum(self.events.eventResponse(d, i))
return tooltipDiv.datum(events)
.html(tooltipFormatter)
.style('visibility', 'visible')
.style('left', placement.left + 'px')
Expand Down

0 comments on commit ee71491

Please sign in to comment.