Browse Source

Fix opacity style

pull/1/head
Masayuki Tanaka 11 years ago committed by masayuki
parent
commit
953622dbda
  1. 2
      c3.js

2
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()
}

Loading…
Cancel
Save