Browse Source

Fix bar style

pull/264/head
Masayuki Tanaka 11 years ago
parent
commit
6f75812a44
  1. 3
      c3.css
  2. 2
      c3.js

3
c3.css

@ -84,6 +84,9 @@
/*-- Bar --*/
.c3-bar {
stroke-width: 0;
}
.c3-bar._expanded_ {
fill-opacity: 0.75;
}

2
c3.js

@ -3580,8 +3580,6 @@
mainBar.enter().append('path')
.attr("class", classBar)
.style("stroke", function (d) { return color(d.id); })
.style("stroke-width", 2)
.style("opacity", 0)
.style("fill", function (d) { return color(d.id); })
.style("fill-opacity", function () { if (__color_opacity) { return __color_opacity; } return initialOpacity; });
mainBar

Loading…
Cancel
Save