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