예제 #1
0
        private static void OnExponentStepChanged(DependencyObject target, DependencyPropertyChangedEventArgs args)
        {
            NumericalAxis presenter = target as NumericalAxis;

            (presenter.model as LogarithmicAxisModel).MajorStep = (double)args.NewValue;
        }
예제 #2
0
        private static void OnRangeExtendDirectionChanged(DependencyObject target, DependencyPropertyChangedEventArgs args)
        {
            NumericalAxis presenter = target as NumericalAxis;

            (presenter.model as NumericalAxisModel).RangeExtendDirection = (NumericalAxisRangeExtendDirection)args.NewValue;
        }
예제 #3
0
        private static void OnMajorStepChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            NumericalAxis presenter = d as NumericalAxis;

            (presenter.model as NumericalAxisModel).MajorStep = (double)e.NewValue;
        }
예제 #4
0
        private static void OnDesiredTickCountChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            NumericalAxis presenter = d as NumericalAxis;

            (presenter.model as NumericalAxisModel).DesiredTickCount = (int)e.NewValue;
        }