Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/06/13 14:29:37 (12 years ago)
Author:
sforsten
Message:

#2016: added toggle of selection for single data points

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionViews/RunCollectionBubbleChartView.cs

    r9441 r9447  
    557557          var point = chart.Series[0].Points[pointIndex];
    558558          IRun run = (IRun)point.Tag;
    559           point.Color = Color.Red;
    560           point.MarkerStyle = MarkerStyle.Cross;
    561           selectedRuns.Add(run);
     559          if (selectedRuns.Contains(run)) {
     560            point.MarkerStyle = MarkerStyle.Circle;
     561            point.Color = Color.FromArgb(255 - LogTransform(transparencyTrackBar.Value), run.Color);
     562            selectedRuns.Remove(run);
     563          } else {
     564            point.Color = Color.Red;
     565            point.MarkerStyle = MarkerStyle.Cross;
     566            selectedRuns.Add(run);
     567          }
    562568        }
    563569      } else {
Note: See TracChangeset for help on using the changeset viewer.