Commit 8361dd2c authored by Brandon Bernal's avatar Brandon Bernal

Inconsistant coverage of area graph on sub chart fixed.

parent e75290a0
...@@ -2495,7 +2495,7 @@ ...@@ -2495,7 +2495,7 @@
var areaOnSub = (function () { var areaOnSub = (function () {
var area = d3.svg.area() var area = d3.svg.area()
.x(xx) .x(xx)
.y0(function (d) { return getSubYScale(d.id)(margin.bottom - __subchart_size_height); }) .y0(function (d) { return getSubYScale(d.id)( (__axis_y_min) ? __axis_y_min : 0 ); })
.y1(function (d) { return getSubYScale(d.id)(d.value); }); .y1(function (d) { return getSubYScale(d.id)(d.value); });
return function (d) { return function (d) {
var data = filterRemoveNull(d.values), x0, y0; var data = filterRemoveNull(d.values), x0, y0;
......
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