Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/05/11 16:53:01 (13 years ago)
Author:
bburlacu
Message:

#1661: Modified the DataTableView to take the IsVisibleInLegend property into account for all chart types. Added default value for the IsVisibleInLegend property in the storable constructor (the property is true by default, identical to the old behavior).

File:
1 edited

Legend:

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

    r7124 r7126  
    179179        series.Color = row.VisualProperties.Color;
    180180      else series.Color = Color.Empty;
     181      series.IsVisibleInLegend = row.VisualProperties.IsVisibleInLegend;
    181182
    182183      switch (row.VisualProperties.ChartType) {
     
    203204        case DataRowVisualProperties.DataRowChartType.Histogram:
    204205          series.ChartType = SeriesChartType.Column;
    205           series.IsVisibleInLegend = row.VisualProperties.IsVisibleInLegend;
    206206          series.SetCustomProperty("PointWidth", "1");
    207207          if (!series.Color.IsEmpty && series.Color.GetBrightness() < 0.25)
Note: See TracChangeset for help on using the changeset viewer.