diff --git a/c3.js b/c3.js index 818430c..d50d2e2 100644 --- a/c3.js +++ b/c3.js @@ -1471,10 +1471,7 @@ ygrid.attr("x1", __axis_rotated ? y : 0) .attr("x2", __axis_rotated ? y : width) .attr("y1", __axis_rotated ? 0 : y) - .attr("y2", __axis_rotated ? height : y) - .attr("opacity", 0) - .transition() - .attr("opacity", 1); + .attr("y2", __axis_rotated ? height : y); ygrid.exit().remove(); } if (withY && __grid_y_lines) { diff --git a/c3.min.js b/c3.min.js index a9b4d3a..3b2a14a 100644 --- a/c3.min.js +++ b/c3.min.js @@ -35,10 +35,10 @@ s=1*c.attr("width"),m=kc,h=f