- Timestamp:
- 05/21/12 10:30:41 (12 years ago)
- 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 50 50 <DebugType>pdbonly</DebugType> 51 51 <Optimize>true</Optimize> 52 <OutputPath> $(SolutionDir)\bin\</OutputPath>52 <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath> 53 53 <DefineConstants>TRACE</DefineConstants> 54 54 <ErrorReport>prompt</ErrorReport> -
branches/Sliding Window GP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/SlidingWindowDataView.Designer.cs
r7845 r7850 26 26 /// </summary> 27 27 private void InitializeComponent() { 28 System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea(); 28 29 this.chart = new HeuristicLab.Visualization.ChartControlsExtensions.EnhancedChart(); 29 30 ((System.ComponentModel.ISupportInitialize)(this.chart)).BeginInit(); … … 32 33 // chart 33 34 // 35 chartArea1.Name = "ChartArea1"; 36 this.chart.ChartAreas.Add(chartArea1); 34 37 this.chart.Dock = System.Windows.Forms.DockStyle.Fill; 35 38 this.chart.Location = new System.Drawing.Point(0, 0); -
branches/Sliding Window GP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/SlidingWindowDataView.cs
r7845 r7850 51 51 52 52 StripLine stripLine = new StripLine(); 53 stripLine.BackColor = Color. Yellow;53 stripLine.BackColor = Color.Gold; 54 54 stripLine.Font = new Font("Times New Roman", 12, FontStyle.Bold); 55 55 stripLine.Text = "Sliding Window"; … … 72 72 73 73 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(); 75 76 } 76 77 … … 81 82 chart.Series.Add(TARGETVARIABLE_SERIES_NAME); 82 83 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()); 84 85 85 86 UpdateStripLine(); 87 UpdateCursorInterval(); 86 88 } 87 89
Note: See TracChangeset
for help on using the changeset viewer.