Example #1
0
        private static void OnPlotModePropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
        {
            CategoricalAxis axis = sender as CategoricalAxis;

            (axis.model as CategoricalAxisModel).PlotMode = (AxisPlotMode)args.NewValue;
        }
Example #2
0
        private static void OnAutoGroupPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            CategoricalAxis axis = d as CategoricalAxis;

            (axis.model as CategoricalAxisModel).AutoGroup = (bool)e.NewValue;
        }
Example #3
0
        private static void OnMajorTickIntervalPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
        {
            CategoricalAxis axis = sender as CategoricalAxis;

            (axis.model as CategoricalAxisModel).MajorTickInterval = (int)args.NewValue;
        }
Example #4
0
        private static void OnGapLengthChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            CategoricalAxis axis = d as CategoricalAxis;

            (axis.model as CategoricalAxisModel).GapLength = (double)e.NewValue;
        }