Cancel the animation in piechart.

3 posts, 0 answers
  1. Ye HaoChen
    Ye HaoChen avatar
    27 posts
    Member since:
    Nov 2009

    Posted 10 Jul 2013 Link to this post

    <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. Evgenia
    Admin
    Evgenia avatar
    1406 posts

    Posted 12 Jul 2013 Link to this post

    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Ye HaoChen
    Ye HaoChen avatar
    27 posts
    Member since:
    Nov 2009

    Posted 15 Jul 2013 Link to this post

    Thank you, it's very useful.
Back to Top