From e5cf235e9a98b02a31d1e5b650834dbc3df4932c Mon Sep 17 00:00:00 2001 From: Masayuki Tanaka Date: Mon, 13 May 2013 17:47:49 +0900 Subject: [PATCH] Fix y domain when grouped --- c3.js | 1 + 1 file changed, 1 insertion(+) diff --git a/c3.js b/c3.js index 6b2d1bf..53d1194 100644 --- a/c3.js +++ b/c3.js @@ -297,6 +297,7 @@ }) for (j = 0; j < __data_groups.length; j++) { 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][0]][i] += v*1 })