private static void OnXChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { CandleGraph mg = (CandleGraph)d; mg.Sources["X"].Data = e.NewValue; }
private static void OnDescriptionChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { CandleGraph mg = (CandleGraph)d; mg.Sources["Close"].Description = (string)e.NewValue; }