/// <summary> /// Property callback. /// Repaints the chart. /// </summary> /// <param name="sender">The sender.</param> /// <param name="e">The <see cref="System.Windows.DependencyPropertyChangedEventArgs"/> instance containing the event data.</param> private static void onPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) { ChartControl chartControl = (ChartControl)sender; chartControl.repaint(); }