Changeset 15095


Ignore:
Timestamp:
06/29/17 16:23:29 (7 weeks ago)
Author:
pfleck
Message:

#2715 fixed the overlapping issue

File:
1 edited

Legend:

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

    r15068 r15095  
    349349        ConfigureChartArea(chart.ChartAreas[0]);
    350350        RecalculateAxesScale(chart.ChartAreas[0]); // axes min/max could have changed
     351
     352        chart.Update(); // side-by-side and stacked histograms are not always correctly displayed without an update
     353        // (chart update is required before the series are updated, otherwise the widths of the bars are updated incorrectly)
    351354        foreach (var row in Content.Rows.Where(r => r.VisualProperties.ChartType == DataRowVisualProperties.DataRowChartType.Histogram))
    352355          Row_VisualPropertiesChanged(row, EventArgs.Empty); // Histogram properties could have changed
    353         chart.Update(); // side-by-side series are not always correctly displayed without an update
    354356      }
    355357    }
Note: See TracChangeset for help on using the changeset viewer.