Browse Source

Fix barTargetIndices bug

pull/1/head
Masayuki Tanaka 12 years ago committed by masayuki
parent
commit
16da559a89
  1. 2
      c3.js

2
c3.js

@ -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++
} }

Loading…
Cancel
Save