[bug][pie] fix piechart create error with code (#206)

This commit is contained in:
monitor1394
2022-07-02 23:10:11 +08:00
parent 06574a201a
commit 9b263c883b
4 changed files with 11 additions and 3 deletions

View File

@@ -272,7 +272,7 @@ namespace XCharts
list.Add(value);
value += tick;
if (list.Count > 20)
if (list.Count > 100)
break;
}
if (!ChartHelper.IsEquals(axis.context.maxValue, list[list.Count - 1]))