修复Series->Data->Size重置为0后设置无效的问题

This commit is contained in:
monitor1394
2019-12-11 01:39:27 +08:00
parent 1a52a8e098
commit ac61213db3
2 changed files with 2 additions and 1 deletions

View File

@@ -353,7 +353,7 @@ namespace XCharts
var xWid = dataWid - 4;
for (int i = 0; i < dimension; i++)
{
if (i >= data.arraySize - 1)
while (i >= data.arraySize - 1)
{
data.InsertArrayElementAtIndex(data.arraySize);
}