private void Button2_Click(object sender, RoutedEventArgs e) { foreach (var series in this.chart.Series) { ChartAnimationUtilities.SetCartesianAnimation(series, CartesianAnimation.StackedBars); } ChartAnimationUtilities.DispatchRunAnimations(this.chart); }
private void ButtonRunAll_Click(object sender, RoutedEventArgs e) { var charts = Telerik.Windows.Controls.ChildrenOfTypeExtensions.ChildrenOfType <RadChartBase>(this); foreach (var chart in charts) { ChartAnimationUtilities.DispatchRunAnimations(chart); } }
private void Button_Click(object sender, RoutedEventArgs e) { ChartAnimationUtilities.DispatchRunAnimations(this.chart); }