mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-24 09:50:15 +00:00
增加Animation的Addition动画支持
This commit is contained in:
@@ -6,10 +6,17 @@ namespace XCharts.Runtime
|
||||
public sealed class DefaultAnimationAttribute : Attribute
|
||||
{
|
||||
public readonly AnimationType type;
|
||||
public readonly bool enableSerieDataAddedAnimation = true;
|
||||
|
||||
public DefaultAnimationAttribute(AnimationType handler)
|
||||
{
|
||||
this.type = handler;
|
||||
}
|
||||
|
||||
public DefaultAnimationAttribute(AnimationType handler, bool enableSerieDataAddedAnimation)
|
||||
{
|
||||
this.type = handler;
|
||||
this.enableSerieDataAddedAnimation = enableSerieDataAddedAnimation;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user