private void NotifyUpdate() { PieChart pieChart = FindParent(); if (pieChart != null) { pieChart.Update(); } }
private static void OnThicknessChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { PieChart pieChart = (PieChart)d; pieChart.Update(); }
private static void OnLabelOffsetChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { PieChart chart = (PieChart)d; chart.Update(); }