diff --git a/c3.css b/c3.css index 7d6f2ef..daf3efe 100644 --- a/c3.css +++ b/c3.css @@ -36,14 +36,14 @@ path, line { /*-- Bar --*/ .__bar._e_ { - stroke-width: 6px; + stroke-width: 1px; + fill-opacity: 0.6; } -/* TODO: use this +/* TODO: use this*/ .__bar._s_ { stroke-width: 1px; - fill-opacity: 0.4; + fill-opacity: 0.3; } -*/ .selected-bar { fill: white; stroke-width: 2px; diff --git a/c3.js b/c3.js index 6446fe4..19ca2b3 100644 --- a/c3.js +++ b/c3.js @@ -585,15 +585,8 @@ } function selectBar (target, d, i) { - target.transition().duration(100) - .style("fill-opacity", 0.4) - .style("stroke-width", "1px") } function unselectBar (target, d, i) { - target.transition().duration(100) - .style("fill-opacity", 1) - .style("stroke-width", target.classed("_e_") ? "4px" : null) - .each('end', function(){ target.transition().style("stroke-width", null) }) } function toggleBar (selected, target, d, i) { (selected) ? selectBar(target, d, i) : unselectBar(target, d, i)