From 3fe2750c04c1ff2871ddddf957d07ac122b2e4b0 Mon Sep 17 00:00:00 2001 From: monitor1394 Date: Wed, 24 Jun 2020 09:23:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96LineChart=E7=9A=84=E5=A0=86?= =?UTF-8?q?=E5=8F=A0=E5=8C=BA=E5=9F=9F=E5=8D=8A=E9=80=8F=E6=98=8E=E7=BB=98?= =?UTF-8?q?=E5=88=B6=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Runtime/Internal/CoordinateChart_DrawLine.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Runtime/Internal/CoordinateChart_DrawLine.cs b/Runtime/Internal/CoordinateChart_DrawLine.cs index 308bf543..be3efade 100644 --- a/Runtime/Internal/CoordinateChart_DrawLine.cs +++ b/Runtime/Internal/CoordinateChart_DrawLine.cs @@ -1262,6 +1262,7 @@ namespace XCharts for (int k = 1; k < smoothPoints.Count; k++) { to = smoothPoints[k]; + if (!IsInRightOrUp(isYAxis, start, to)) continue; if (serie.animation.CheckDetailBreak(to, isYAxis)) break; Vector3 tnp, tlp; if (isYAxis) areaColor = GetYLerpColor(sourAreaColor, areaToColor, to);