整理重构代码

This commit is contained in:
monitor1394
2020-07-07 06:53:02 +08:00
parent e4092d13b2
commit a135b56259
9 changed files with 143 additions and 116 deletions

View File

@@ -550,7 +550,7 @@ namespace XCharts
case SerieType.Line:
bool refresh = false;
var count = serie.data.Count;
SerieHelper.GetDimensionMinMaxData(serie, 1, -1);
SerieHelper.UpdateMinMaxData(serie, 1, -1);
var diff = (serie.runtimeDataMax - serie.runtimeDataMin) / (count - 1);
for (int j = 0; j < count; j++)
{