Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/10/16 12:38:08 (9 years ago)
Author:
pfleck
Message:

#2597 Implemented cancellation of chart update when new update is called during calculation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.RegressionSolutionGradientView/HeuristicLab.Problems.DataAnalysis.Views/3.4/RegressionSolutionTargetResponseGradientView.cs

    r13837 r13840  
    7373          ShowYAxisLabel = true,
    7474        };
    75         gradientChart.VariableValueChanged += async (o, e) => {
     75        gradientChart.VariableValueChanged += (o, e) => {
    7676          foreach (var chart in gradientChartTableLayout.Controls.Cast<GradientChart>()) {
    7777            if (chart == (GradientChart)o) continue;
    78             await chart.UpdateChartAsync();
     78            chart.UpdateChart();
    7979          }
    8080        };
     
    9999    }
    100100
    101     private async void variableListView_ItemChecked(object sender, ItemCheckedEventArgs e) {
     101    private void variableListView_ItemChecked(object sender, ItemCheckedEventArgs e) {
    102102      if (charts == null) return;
    103103      var item = e.Item;
     
    111111      if (item.Checked) {
    112112        tl.Controls.Add(chart);
    113         await chart.UpdateChartAsync();
     113        chart.UpdateChart();
    114114      } else {
    115115        tl.Controls.Remove(chart);
Note: See TracChangeset for help on using the changeset viewer.