add debug info

This commit is contained in:
monitor1394
2022-04-10 22:27:27 +08:00
parent 24be6df68e
commit 56d0b7ffb4
6 changed files with 195 additions and 3 deletions

View File

@@ -98,6 +98,16 @@ namespace XCharts
SeriesHelper.ClearNameDirty(this);
}
public int GetAllSerieDataCount()
{
var count = 0;
foreach (var serie in list)
{
count += serie.dataCount;
}
return count;
}
/// <summary>
/// 清空所有系列的数据
/// </summary>
@@ -259,7 +269,7 @@ namespace XCharts
/// </summary>
public void RemoveAll()
{
foreach(var serie in m_Series) serie.AnimationFadeIn();
foreach (var serie in m_Series) serie.AnimationFadeIn();
m_Series.Clear();
}