Browse Source

Fix clip path for axis

pull/183/head
Masayuki Tanaka 11 years ago
parent
commit
ffe5202df7
  1. 4
      c3.js
  2. 2
      c3.min.js

4
c3.js

@ -2526,7 +2526,7 @@
// Add Axis
main.append("g")
.attr("class", CLASS.axisX)
.attr("clip-path", __axis_rotated ? "" : clipPathForXAxis)
.attr("clip-path", clipPathForXAxis)
.attr("transform", translate.x)
.append("text")
.attr("class", CLASS.axisXLabel)
@ -2538,7 +2538,7 @@
if (__axis_y_show) {
main.append("g")
.attr("class", CLASS.axisY)
.attr("clip-path", __axis_rotated ? clipPathForYAxis : "")
.attr("clip-path", clipPathForYAxis)
.attr("transform", translate.y)
.append("text")
.attr("class", CLASS.axisYLabel)

2
c3.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save