Last change
on this file since 10724 was
10724,
checked in by bburlacu, 10 years ago
|
#1837: Moved sliding window views into separate folder, re-added title to heat map view.
|
File size:
779 bytes
|
Line | |
---|
1 | using System.Windows.Forms;
|
---|
2 | using HeuristicLab.Analysis;
|
---|
3 | using HeuristicLab.Analysis.Views;
|
---|
4 | using HeuristicLab.MainForm;
|
---|
5 |
|
---|
6 | namespace 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.