mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-22 17:00:08 +00:00
add debug info
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user