Browse Source

Enable ygrids for y2 - #132

pull/183/head
Masayuki Tanaka 11 years ago
parent
commit
560a519ea3
  1. 3
      c3.js
  2. 2
      c3.min.js

3
c3.js

@ -1690,7 +1690,8 @@
return x(isTimeSeries ? parseDate(d.value) : d.value); return x(isTimeSeries ? parseDate(d.value) : d.value);
} }
function yv(d) { function yv(d) {
return y(d.value); var yScale = d.axis && d.axis === 'y2' ? y2 : y;
return yScale(d.value);
} }
function subxx(d) { function subxx(d) {
return subX(d.x); return subX(d.x);

2
c3.min.js vendored

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