Commit 58f89877 authored by Brandon Bernal's avatar Brandon Bernal

Fixed areaOnSub y0 coord.

parent 467fad13
......@@ -2495,8 +2495,8 @@
var areaOnSub = (function () {
var area = d3.svg.area()
.x(xx)
.y0(function (d, i) { return getSubYScale(d.id)(0); })
.y1(function (d, i) { return getSubYScale(d.id)(d.value); });
.y0(function (d) { return getSubYScale(d.id)(margin.bottom - __subchart_size_height); })
.y1(function (d) { return getSubYScale(d.id)(d.value); });
return function (d) {
var data = filterRemoveNull(d.values), x0, y0;
if (hasType([d], 'area') || hasType([d], 'area-spline')) {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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