Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/28/10 00:38:56 (14 years ago)
Author:
swagner
Message:

Worked on flexible coloring of data rows and on changing the initial index from 1 to 0 (#925)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Analysis.Views/3.3/DataTableView.cs

    r4644 r4648  
    125125      }
    126126      series.YAxisType = row.VisualProperties.SecondYAxis ? AxisType.Secondary : AxisType.Primary;
     127      if (row.VisualProperties.Color != Color.Empty) series.Color = row.VisualProperties.Color;
    127128      series.ToolTip = row.Name + " X = #INDEX, Y = #VAL";
    128129      FillSeriesWithRowValues(series, row);
     
    256257        }
    257258        chart.Series[row.Name].YAxisType = row.VisualProperties.SecondYAxis ? AxisType.Secondary : AxisType.Primary;
     259        if (row.VisualProperties.Color != Color.Empty) chart.Series[row.Name].Color = row.VisualProperties.Color;
    258260      }
    259261    }
Note: See TracChangeset for help on using the changeset viewer.