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

Cancel the animation in piechart.

2 Answers 101 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Ye HaoChen
Top achievements
Rank 1
Ye HaoChen asked on 10 Jul 2013, 06:30 AM
<telerik:RadChart x:Name="Chart_Issure_Long" ItemsSource="{Binding IssureLongList}" telerik:StyleManager.Theme="{DynamicResource MetroStyle}">
                    <telerik:RadChart.SeriesMappings>
                        <telerik:SeriesMapping>
                            <telerik:SeriesMapping.SeriesDefinition>
                                <telerik:PieSeriesDefinition LegendDisplayMode="DataPointLabel" ShowItemToolTips="True" ItemLabelFormat="#%{p}" ItemToolTipFormat="#LEGENDLABEL{C4} #Y{C2}" ShowItemLabels="True" LabelOffset="1.2" />
                            </telerik:SeriesMapping.SeriesDefinition>
                            <telerik:SeriesMapping.ItemMappings>
                                <telerik:ItemMapping DataPointMember="YValue" FieldName="IssurePosSummary.MarketCapitlization" />
                                <telerik:ItemMapping DataPointMember="XCategory" FieldName="IssurePosSummary.IssureName" />
                                <telerik:ItemMapping DataPointMember="LegendLabel" FieldName="IssurePosSummary.IssureName" />
                            </telerik:SeriesMapping.ItemMappings>
                        </telerik:SeriesMapping>
                    </telerik:RadChart.SeriesMappings>
                </telerik:RadChart>

I want to cancel the animation in piechart.
Because I have a lot lot of data in the piechart, so the animation completed will be too slow.

Thank you.

2 Answers, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 12 Jul 2013, 11:28 AM
Hello,

 You may disable animations for RadChart by using the EnableAnimations boolean property:

radChart.DefaultView.ChartArea.EnableAnimations = false;

You can read more about it in our documentation.

Regards,
Evgenia
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Ye HaoChen
Top achievements
Rank 1
answered on 16 Jul 2013, 02:08 AM
Thank you, it's very useful.
Tags
Chart
Asked by
Ye HaoChen
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Ye HaoChen
Top achievements
Rank 1
Share this question
or