Skip to content

Commit

Permalink
Fix issue w3c#155
Browse files Browse the repository at this point in the history
  • Loading branch information
almossawi committed Oct 23, 2014
1 parent 5564c08 commit b9ae92c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/charts/point.js
Expand Up @@ -110,7 +110,8 @@ charts.point = function(args) {
paths.selectAll('path')
.data(voronoi(args.data[0]))
.enter().append('path')
.attr('d', function(d) {
.attr('d', function(d) {
if(d == undefined) return;
return 'M' + d.join(',') + 'Z';
})
.attr('id', function(d,i) {
Expand Down

0 comments on commit b9ae92c

Please sign in to comment.