Free cookie consent management tool by TermsFeed Policy Generator

Changeset 14112


Ignore:
Timestamp:
07/19/16 16:43:01 (8 years ago)
Author:
mkommend
Message:

#2620: Merged r13958 into stable.

Location:
stable
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Problems.DataAnalysis.Views

  • stable/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/RegressionSolutionScatterPlotView.cs

    r12702 r14112  
    3535    private const string TEST_SERIES = "Test samples";
    3636
     37    private const int OPACITY_LEVEL = 150;
     38
    3739    public new IRegressionSolution Content {
    3840      get { return (IRegressionSolution)base.Content; }
     
    5961      this.chart.TextAntiAliasingQuality = TextAntiAliasingQuality.High;
    6062      this.chart.AxisViewChanged += new EventHandler<System.Windows.Forms.DataVisualization.Charting.ViewEventArgs>(chart_AxisViewChanged);
     63
     64      //make series colors semi transparent
     65      this.chart.ApplyPaletteColors();
     66      this.chart.Series[ALL_SERIES].Color = Color.FromArgb(OPACITY_LEVEL, this.chart.Series[ALL_SERIES].Color);
     67      this.chart.Series[TRAINING_SERIES].Color = Color.FromArgb(OPACITY_LEVEL, this.chart.Series[TRAINING_SERIES].Color);
     68      this.chart.Series[TEST_SERIES].Color = Color.FromArgb(OPACITY_LEVEL, this.chart.Series[TEST_SERIES].Color);
     69
     70      //change all markers to circles
     71      this.chart.Series[ALL_SERIES].MarkerStyle = MarkerStyle.Circle;
     72      this.chart.Series[TRAINING_SERIES].MarkerStyle = MarkerStyle.Circle;
     73      this.chart.Series[TEST_SERIES].MarkerStyle = MarkerStyle.Circle;
    6174
    6275      //configure axis
Note: See TracChangeset for help on using the changeset viewer.