Commit 560a519e authored by Masayuki Tanaka's avatar Masayuki Tanaka

Enable ygrids for y2 - #132

parent 0a315b1d
......@@ -1690,7 +1690,8 @@
return x(isTimeSeries ? parseDate(d.value) : d.value);
}
function yv(d) {
return y(d.value);
var yScale = d.axis && d.axis === 'y2' ? y2 : y;
return yScale(d.value);
}
function subxx(d) {
return subX(d.x);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment