Exemple #1
0
        private static void OnPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
        {
            RadialChart circle = sender as RadialChart;

            circle.RenderArc();
        }
Exemple #2
0
        private static void OnPercentageChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
        {
            RadialChart circle = sender as RadialChart;

            circle.Angle = (circle.Percentage * 360) / 100;
        }