private static void OnSourceTorqueChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { ((OxyPlotGraphViewer)d).UpdateTorque(); }