Skip to content

Commit

Permalink
Fix issue w3c#142
Browse files Browse the repository at this point in the history
  • Loading branch information
almossawi committed Sep 20, 2014
1 parent 124669a commit 2716679
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/charts/line.js
Expand Up @@ -170,7 +170,8 @@ charts.line = function(args) {
//main rollover
var voronoi = d3.geom.voronoi()
.x(function(d) { return args.scales.X(d[args.x_accessor]); })
.y(function(d) { return args.scales.Y(d[args.y_accessor]); });
.y(function(d) { return args.scales.Y(d[args.y_accessor]); })
.clipExtent([[args.buffer, args.buffer], [args.width - args.buffer, args.height - args.buffer]]);

var g = svg.append('g')
.attr('class', 'voronoi')
Expand Down

0 comments on commit 2716679

Please sign in to comment.