- Timestamp:
- 06/11/14 15:28:12 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/PreprocessingChartView.cs
r10992 r10999 46 46 private const string DEFAULT_CHART_TITLE = "Chart"; 47 47 private const int FIXED_CHART_SIZE = 300; 48 private const int MAX_TABLE_ ROWS = 3;48 private const int MAX_TABLE_AUTO_SIZE_ROWS = 3; 49 49 50 50 public IEnumerable<double> Classification { get; set; } … … 326 326 for (int x = 0; x < columns; x++) { 327 327 328 if (rows <= MAX_TABLE_ ROWS)328 if (rows <= MAX_TABLE_AUTO_SIZE_ROWS) 329 329 tableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100 / columns)); 330 330 else … … 335 335 if (x == 0) { 336 336 // fixed chart size when there are more than 3 tables 337 if (rows > MAX_TABLE_ ROWS)337 if (rows > MAX_TABLE_AUTO_SIZE_ROWS) 338 338 tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, FIXED_CHART_SIZE)); 339 339 else
Note: See TracChangeset
for help on using the changeset viewer.