diff --git a/c3.js b/c3.js index 6db0731..78c2a64 100644 --- a/c3.js +++ b/c3.js @@ -28,7 +28,7 @@ } // bindto - id to bind the chart - var __bindto = getConfig(['size','width'], '#chart'); + var __bindto = getConfig(['bindto'], '#chart'); var __size_width = getConfig(['size','width'], null), __size_height = getConfig(['size','height'], null); diff --git a/c3.min.js b/c3.min.js index 29f0a2f..6e19dad 100644 --- a/c3.min.js +++ b/c3.min.js @@ -44,7 +44,7 @@ a.values[c.x].value})});pa&&(c=x.select(".chart-bars").selectAll(".chart-bar").d ra&&ab(a);d3.selectAll(".target").transition().style("opacity",1)}function Ka(a,c){k.data.targets.forEach(function(c){for(var b=0;b