From 1e2a28ece00eccd072e6262530d74e0212236d48 Mon Sep 17 00:00:00 2001 From: Masayuki Tanaka Date: Mon, 28 Oct 2013 13:08:08 +0900 Subject: [PATCH] Fix bindto bug --- c3.js | 2 +- c3.min.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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