Commit 571531d0 authored by GoshaZotov's avatar GoshaZotov

.

parent c0ab965f
...@@ -11307,6 +11307,11 @@ drawSurfaceChart.prototype = ...@@ -11307,6 +11307,11 @@ drawSurfaceChart.prototype =
break; break;
} }
if(yPoints[k - 1] && yPoints[k].val > maxVal && yPoints[k - 1].val >= maxVal)
{
break;
}
var pointNeedAddIntoFace = null; var pointNeedAddIntoFace = null;
if(yPoints[k - 1]) if(yPoints[k - 1])
{ {
...@@ -11369,6 +11374,10 @@ drawSurfaceChart.prototype = ...@@ -11369,6 +11374,10 @@ drawSurfaceChart.prototype =
var p4 = points[1] ? points[1] : points[0]; var p4 = points[1] ? points[1] : points[0];
var arrPoints = [p1, p2, p3, p4]; var arrPoints = [p1, p2, p3, p4];
if(points[2])
{
arrPoints.push(points[2]);
}
if(null !== pointNeedAddIntoFace) if(null !== pointNeedAddIntoFace)
{ {
......
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