Skip to content

Commit

Permalink
update built libs
Browse files Browse the repository at this point in the history
  • Loading branch information
dchester committed May 1, 2012
1 parent dcb2ab9 commit 7ad6dd7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion rickshaw.js
Expand Up @@ -1463,6 +1463,8 @@ Rickshaw.Graph.HoverDetail = Rickshaw.Class.create({

if (e.target.nodeName != 'path' && e.target.nodeName != 'svg') return;

var graph = this.graph;

var eventX = e.offsetX || e.layerX;
var eventY = e.offsetY || e.layerY;

Expand Down Expand Up @@ -1571,7 +1573,7 @@ Rickshaw.Graph.HoverDetail = Rickshaw.Class.create({
var item = document.createElement('div');
item.className = 'item';
item.innerHTML = this.formatter(d.series, domainX, d.value.y, formattedXValue, d.formattedYValue);
item.style.top = graph.y(d.value.y0 + d.value.y) + 'px';
item.style.top = this.graph.y(d.value.y0 + d.value.y) + 'px';

this.element.appendChild(item);

Expand Down

0 comments on commit 7ad6dd7

Please sign in to comment.