mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-17 14:00:12 +00:00
3.0 - optimize code
This commit is contained in:
@@ -20,9 +20,9 @@ namespace XCharts.Example
|
||||
var serie = chart.GetSerie(0);
|
||||
serie.animation.enable = true;
|
||||
//自定义每个数据项的渐入延时
|
||||
serie.animation.customFadeInDelay = CustomFadeInDelay;
|
||||
serie.animation.fadeInDelayFunction = CustomFadeInDelay;
|
||||
//自定义每个数据项的渐入时长
|
||||
serie.animation.customFadeInDuration = CustomFadeInDuration;
|
||||
serie.animation.fadeInDurationFunction = CustomFadeInDuration;
|
||||
}
|
||||
|
||||
float CustomFadeInDelay(int dataIndex)
|
||||
|
||||
Reference in New Issue
Block a user