Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/14/14 14:54:41 (10 years ago)
Author:
aesterer
Message:

Added selection tag in line chart legend

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/ChartLogic.cs

    r10847 r10851  
    134134          return null;
    135135
    136         int end = selectedIndices[0];      // indices are provided in reverse order
    137         int start = selectedIndices[selectedIndices.Count-1];
     136        selectedIndices.Sort();
     137        int start = selectedIndices[0];     
     138        int end = selectedIndices[selectedIndices.Count-1];
    138139
    139140        DataRow rowSelect = CreateDataRowRange(variableName, start, end, chartType);
    140         rowSelect.VisualProperties.Color = Color.Green;
    141141        return rowSelect;
    142142      }
Note: See TracChangeset for help on using the changeset viewer.