We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Animation in SplineSeries

Is there anyway to attach Animation in SplineSeries chart type.

1 Reply

SP Saravana Pandian Murugan Syncfusion Team May 25, 2016 04:55 AM UTC

Hi Atif, 
 Thanks for Contacting Syncfusion Support. 
 You can enable the animation using EnableAnimation property and customize its duration using AnimationDuration property of SplineSeries. Please refer to the following code example. 
 Code Example: 
[XAML]:  
  
<chart:SplineSeries  ItemsSource="{Binding SplineData}"  EnableAnimation = "true" 
AnimationDuration=“0.8" XBindingPath="Name"  YBindingPath="Value" /> 
  
 
  
[C#]:  
  
SplineSeries splineSeries = new SplineSeries (); 
  
splineSeries .EnableAnimation = true; 
  
splineSeries .AnimationDuration = 0.8; 
  
 
 
 Thanks, 
Saravana Pandian M. 


Loader.
Up arrow icon