Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/11/14 15:28:12 (10 years ago)
Author:
rstoll
Message:
  • Reordered Code
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/PreprocessingChartView.cs

    r10992 r10999  
    4646    private const string DEFAULT_CHART_TITLE = "Chart";
    4747    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;
    4949
    5050    public IEnumerable<double> Classification { get; set; }
     
    326326      for (int x = 0; x < columns; x++) {
    327327
    328         if (rows <= MAX_TABLE_ROWS)
     328        if (rows <= MAX_TABLE_AUTO_SIZE_ROWS)
    329329          tableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100 / columns));
    330330        else
     
    335335          if (x == 0) {
    336336            // fixed chart size when there are more than 3 tables
    337             if (rows > MAX_TABLE_ROWS)
     337            if (rows > MAX_TABLE_AUTO_SIZE_ROWS)
    338338              tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, FIXED_CHART_SIZE));
    339339            else
Note: See TracChangeset for help on using the changeset viewer.