Skip to content

Commit

Permalink
Fix issue with line numbers other than 1 not working (w3c#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
almossawi committed Feb 12, 2015
1 parent e5e0c12 commit 2746d28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/charts/line.js
Expand Up @@ -456,7 +456,7 @@ charts.line = function(args) {

//if the dataset is of length 1, trigger the rollover for our solitary rollover rect
if (args.data.length == 1 && args.data[0].length == 1) {
d3.select('.mg-rollover-rect .mg-line1-color')
d3.select('.mg-rollover-rect rect')
.on('mouseover')(args.data[0][0], 0);
}

Expand Down

0 comments on commit 2746d28

Please sign in to comment.