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

@@ -19,9 +19,9 @@ namespace XCharts.Example
var serie = chart.GetSerie(0);
serie.animation.enable = true;
//自定义每个数据项的渐入延时
serie.animation.fadeIn.delayFunction = CustomFadeInDelay;
serie.animation.fadein.delayFunction = CustomFadeInDelay;
//自定义每个数据项的渐入时长
serie.animation.fadeIn.durationFunction = CustomFadeInDuration;
serie.animation.fadein.durationFunction = CustomFadeInDuration;
}
float CustomFadeInDelay(int dataIndex)