Free cookie consent management tool by TermsFeed Policy Generator

source: branches/Sliding Window GP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/SlidingWindow/SlidingWindowBestSolutionsCollectionHeatMapView.cs @ 10724

Last change on this file since 10724 was 10724, checked in by bburlacu, 9 years ago

#1837: Moved sliding window views into separate folder, re-added title to heat map view.

File size: 779 bytes
Line 
1using System.Windows.Forms;
2using HeuristicLab.Analysis;
3using HeuristicLab.Analysis.Views;
4using HeuristicLab.MainForm;
5
6namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Views {
7  [View("SlidingWindowBestSolutionCollectionHeatMapView")]
8  [Content(typeof(HeatMap), false)]
9  public partial class SlidingWindowBestSolutionsCollectionHeatMapView : HeatMapView {
10    public SlidingWindowBestSolutionsCollectionHeatMapView() {
11      InitializeComponent();
12
13      var chartArea = chart.ChartAreas[0];
14      chartArea.AxisX.Title = "Sliding window position";
15      chartArea.AxisX.IsStartedFromZero = true;
16      chartArea.AxisY.Title = "Best solution";
17      chartArea.AxisY.IsReversed = true;
18      chartArea.AxisX.IsStartedFromZero = true;
19    }
20  }
21}
Note: See TracBrowser for help on using the repository browser.