コード例 #1
0
        private static void OnDescriptionChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            CartesianMarkerGraph mg = (CartesianMarkerGraph)d;

            mg.Sources["Y"].Description = (string)e.NewValue;
        }
コード例 #2
0
        private static void OnXChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            CartesianMarkerGraph mg = (CartesianMarkerGraph)d;

            mg.Sources["X"].Data = e.NewValue;
        }
コード例 #3
0
        private static void OnYChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            CartesianMarkerGraph mg = (CartesianMarkerGraph)d;

            mg.OnYChanged(e.OldValue, e.NewValue);
        }