/// <inheritdoc /> protected override void OnConfigurationPropertyChanged(string propertyName) { base.OnConfigurationPropertyChanged(propertyName); if (propertyName == nameof(PlotVisualizationObjectConfiguration.YAxisComputeMode)) { // Take action only if value changed if (this.Configuration.YAxisComputeMode != this.currentYAxisComputeMode) { this.currentYAxisComputeMode = this.Configuration.YAxisComputeMode; this.AutoComputeYAxis(); } } }
/// <inheritdoc /> protected override void OnConfigurationPropertyChanged(object sender, PropertyChangedEventArgs e) { base.OnConfigurationPropertyChanged(sender, e); if (e.PropertyName == nameof(PlotVisualizationObjectConfiguration.YAxisComputeMode)) { // Take action only if value changed if (this.Configuration.YAxisComputeMode != this.currentYAxisComputeMode) { this.currentYAxisComputeMode = this.Configuration.YAxisComputeMode; this.AutoComputeYAxis(); } } else if (e.PropertyName == nameof(PlotVisualizationObjectConfiguration.Color)) { this.RaisePropertyChanged(nameof(this.LegendColor)); } }