Fixed serie ignore display error #173

This commit is contained in:
monitor1394
2021-11-30 21:40:18 +08:00
parent da9de44291
commit 176d62f8bd
3 changed files with 6 additions and 1 deletions

View File

@@ -832,7 +832,8 @@ namespace XCharts
(!lastIsDown && IsInRightOrUp(isYAxis, lastDnPos, tp1)))
{
isStart = true;
Internal_CheckClipAndDrawPolygon(vh, stPos1, tp1, tp2, stPos2, lineColor, serie.clip, grid);
if (stPos1 != Vector3.zero && stPos2 != Vector3.zero)
Internal_CheckClipAndDrawPolygon(vh, stPos1, tp1, tp2, stPos2, lineColor, serie.clip, grid);
}
}
else