Commit 16da559a authored by Masayuki Tanaka's avatar Masayuki Tanaka Committed by masayuki

Fix barTargetIndices bug

parent 0ac85b56
...@@ -402,7 +402,7 @@ ...@@ -402,7 +402,7 @@
function getBarTargetIndices () { function getBarTargetIndices () {
var indices = {}, i = 0 var indices = {}, i = 0
c3.data.targets.forEach(function(d,i) { c3.data.targets.forEach(function(d) {
if (isBarType(d)) { if (isBarType(d)) {
indices[d.id] = i++ indices[d.id] = i++
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment