增加AnimationReset()重置初始化动画接口

This commit is contained in:
monitor1394
2019-09-26 19:10:56 +08:00
parent 2c0b86f897
commit 82cc23548d
4 changed files with 28 additions and 1 deletions

View File

@@ -831,6 +831,17 @@ namespace XCharts
}
}
/// <summary>
/// 重置初始动画
/// </summary>
public void AnimationReset()
{
foreach (var serie in m_Series)
{
if (serie.animation.enable) serie.animation.Reset();
}
}
/// <summary>
/// 从json中解析数据
/// </summary>