mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-15 21:00:11 +00:00
增加AnimationReset()重置初始化动画接口
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user