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);