diff --git a/c3.js b/c3.js index f629731..c0d1873 100644 --- a/c3.js +++ b/c3.js @@ -402,7 +402,7 @@ function getBarTargetIndices () { var indices = {}, i = 0 - c3.data.targets.forEach(function(d,i) { + c3.data.targets.forEach(function(d) { if (isBarType(d)) { indices[d.id] = i++ }