Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/21/12 10:30:41 (12 years ago)
Author:
mkommend
Message:

#1837: Added view for sliding window GP and updated analyzer.

Location:
branches/Sliding Window GP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/Sliding Window GP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/HeuristicLab.Problems.DataAnalysis.Symbolic.Views-3.4.csproj

    r7845 r7850  
    5050    <DebugType>pdbonly</DebugType>
    5151    <Optimize>true</Optimize>
    52     <OutputPath>$(SolutionDir)\bin\</OutputPath>
     52    <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath>
    5353    <DefineConstants>TRACE</DefineConstants>
    5454    <ErrorReport>prompt</ErrorReport>
  • branches/Sliding Window GP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/SlidingWindowDataView.Designer.cs

    r7845 r7850  
    2626    /// </summary>
    2727    private void InitializeComponent() {
     28      System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
    2829      this.chart = new HeuristicLab.Visualization.ChartControlsExtensions.EnhancedChart();
    2930      ((System.ComponentModel.ISupportInitialize)(this.chart)).BeginInit();
     
    3233      // chart
    3334      //
     35      chartArea1.Name = "ChartArea1";
     36      this.chart.ChartAreas.Add(chartArea1);
    3437      this.chart.Dock = System.Windows.Forms.DockStyle.Fill;
    3538      this.chart.Location = new System.Drawing.Point(0, 0);
  • branches/Sliding Window GP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/SlidingWindowDataView.cs

    r7845 r7850  
    5151
    5252      StripLine stripLine = new StripLine();
    53       stripLine.BackColor = Color.Yellow;
     53      stripLine.BackColor = Color.Gold;
    5454      stripLine.Font = new Font("Times New Roman", 12, FontStyle.Bold);
    5555      stripLine.Text = "Sliding Window";
     
    7272
    7373    private void SlidingWindowPosition_ValueChanged(object sender, System.EventArgs e) {
    74       UpdateStripLine();
     74      if (InvokeRequired) Invoke((Action<object, EventArgs>)SlidingWindowPosition_ValueChanged, sender, e);
     75      else UpdateStripLine();
    7576    }
    7677
     
    8182      chart.Series.Add(TARGETVARIABLE_SERIES_NAME);
    8283      chart.Series[TARGETVARIABLE_SERIES_NAME].ChartType = SeriesChartType.FastLine;
    83       chart.Series[TARGETVARIABLE_SERIES_NAME].Points.AddY(Content.TargetValues);
     84      chart.Series[TARGETVARIABLE_SERIES_NAME].Points.DataBindY(Content.TargetValues.ToArray());
    8485
    8586      UpdateStripLine();
     87      UpdateCursorInterval();
    8688    }
    8789
Note: See TracChangeset for help on using the changeset viewer.