private static void OnExponentStepChanged(DependencyObject target, DependencyPropertyChangedEventArgs args) { NumericalAxis presenter = target as NumericalAxis; (presenter.model as LogarithmicAxisModel).MajorStep = (double)args.NewValue; }
private static void OnRangeExtendDirectionChanged(DependencyObject target, DependencyPropertyChangedEventArgs args) { NumericalAxis presenter = target as NumericalAxis; (presenter.model as NumericalAxisModel).RangeExtendDirection = (NumericalAxisRangeExtendDirection)args.NewValue; }
private static void OnMajorStepChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { NumericalAxis presenter = d as NumericalAxis; (presenter.model as NumericalAxisModel).MajorStep = (double)e.NewValue; }
private static void OnDesiredTickCountChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { NumericalAxis presenter = d as NumericalAxis; (presenter.model as NumericalAxisModel).DesiredTickCount = (int)e.NewValue; }