增加AnimationAddition动画支持

This commit is contained in:
monitor1394
2023-07-11 13:32:50 +08:00
parent 0adc9e71e5
commit f678477c88
39 changed files with 704 additions and 432 deletions

View File

@@ -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;
}
}
}