static void OnFieldsPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { ((BaseChart)d).SetItemsSource(); }