Hi Jeremy,
Thanks for using Syncfusion products.
You can achieve this requirement by inheriting chart segment class and overriding the AnimationStopped method. Please refer the following code snippet for more details.
Code Snippet:
public class ColumnSegmentExt : SFColumnSegment
{
//This method will call for every segment creation
public override void AnimationStopped(CoreAnimation.CAAnimation anim, bool finished)
{
if(Series.Segments.Last() == this) // condition for animation end
{
//do your stuff
}
base.AnimationStopped(anim, finished); // Must call base to avoid the memory leak
}
}
|
To render the inherited segment to series.
public class ColumnSeriesExt : SFColumnSeries
{
protected override SFChartSegment CreateSegment()
{
return new ColumnSegmentExt();
}
} |
Please download the sample from following location.
Please let us know, if you need further assistance on this.
Regards,
Parthiban S