示例#1
0
 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);
            }
        }
示例#3
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     ChartAnimationUtilities.DispatchRunAnimations(this.chart);
 }