From 953622dbdae938ab68de5f037b07cde1f93ecaf7 Mon Sep 17 00:00:00 2001 From: Masayuki Tanaka Date: Wed, 3 Jul 2013 15:50:20 +0900 Subject: [PATCH] Fix opacity style --- c3.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c3.js b/c3.js index 9c15ed1..21ab1b4 100644 --- a/c3.js +++ b/c3.js @@ -1258,7 +1258,7 @@ .attr("height", __axis_rotated ? regionWidth : height) .style("opacity", function(d){ return typeof d.opacity !== 'undefined' ? d.opacity : .1 }) mainRegion.exit().transition().duration(withTransition ? 250 : 0) - .attr("opacity", 0) + .style("opacity", 0) .remove() }