Browse Source

fix axisY translate argument order

pull/1834/head
Dakota St. Laurent 9 years ago
parent
commit
1e9fca7cd1
  1. 2
      c3.js
  2. 2
      c3.min.js
  3. 2
      src/c3.axis.js

2
c3.js

@ -6983,7 +6983,7 @@
var translateValue = Math.ceil(y(d));
return isNaN(translateValue) ?
"translate(0, 0)" :
"translate(" + translateValue + ", 0)";
"translate(0, " + translateValue + ")";
});
}
function scaleExtent(domain) {

2
c3.min.js vendored

File diff suppressed because one or more lines are too long

2
src/c3.axis.js

@ -24,7 +24,7 @@ function c3_axis(d3, params) {
var translateValue = Math.ceil(y(d));
return isNaN(translateValue) ?
"translate(0, 0)" :
"translate(" + translateValue + ", 0)";
"translate(0, " + translateValue + ")";
});
}
function scaleExtent(domain) {

Loading…
Cancel
Save