Browse Source

Fix y domain when grouped

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

1
c3.js

@ -297,6 +297,7 @@
}) })
for (j = 0; j < __data_groups.length; j++) { for (j = 0; j < __data_groups.length; j++) {
for (k = 1; k < __data_groups[j].length; k++) { for (k = 1; k < __data_groups[j].length; k++) {
if ( ! isBarType(__data_groups[j][k])) continue
ys[__data_groups[j][k]].forEach(function(v,i){ ys[__data_groups[j][k]].forEach(function(v,i){
ys[__data_groups[j][0]][i] += v*1 ys[__data_groups[j][0]][i] += v*1
}) })

Loading…
Cancel
Save