增加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

@@ -451,5 +451,16 @@ namespace XCharts
m_CheckAnimation = false;
m_Series.AnimationStop();
}
/// <summary>
/// Reset animation to play.
/// 重置初始动画,重新播放。
/// </summary>
public void AnimationReset()
{
m_CheckAnimation = false;
m_Series.AnimationReset();
RefreshChart();
}
}
}