This is a migrated thread and some comments may be shown as answers.

Removing Animation effect from Lineseries

1 Answer 51 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Kiran Ghanwat
Top achievements
Rank 1
Kiran Ghanwat asked on 26 Apr 2010, 08:05 AM
Hello Community,

    You may help me in this.    
    Each time I plot Lineseries on the chart... it gets animated effect.
    Line escapes from Y - axis to the right side.

    Need to remove that effect from chart.

Thanks,
Kiran

1 Answer, 1 is accepted

Sort by
0
Accepted
Grtjn
Top achievements
Rank 1
answered on 26 Apr 2010, 08:28 AM
lineChart.DefaultView.ChartArea.AnimationSettings = new AnimationSettings();  
lineChart.DefaultView.ChartArea.AnimationSettings.ItemDelay = new TimeSpan(0);  
lineChart.DefaultView.ChartArea.AnimationSettings.ItemAnimationDuration = new TimeSpan(0, 0, 0); 

i guess this could help...

Gertjan
Tags
Chart
Asked by
Kiran Ghanwat
Top achievements
Rank 1
Answers by
Grtjn
Top achievements
Rank 1
Share this question
or