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

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

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

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

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