Changeset 14580
- Timestamp:
- 01/18/17 11:17:58 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing Enhancements/HeuristicLab.DataPreprocessing.Views/3.4/ScatterPlotMultiView.cs
r14514 r14580 16 16 [Content(typeof(MultiScatterPlotContent), true)] 17 17 public partial class ScatterPlotMultiView : PreprocessingCheckedVariablesView { 18 private readonly IDictionary<string, Label> columnHeaderCache ;19 private readonly IDictionary<string, VerticalLabel> rowHeaderCache ;20 private readonly IDictionary<Tuple<string/*col*/, string/*row*/>, Control> bodyCache ;18 private readonly IDictionary<string, Label> columnHeaderCache = new Dictionary<string, Label>(); 19 private readonly IDictionary<string, VerticalLabel> rowHeaderCache = new Dictionary<string, VerticalLabel>(); 20 private readonly IDictionary<Tuple<string/*col*/, string/*row*/>, Control> bodyCache = new Dictionary<Tuple<string, string>, Control>(); 21 21 22 22 public ScatterPlotMultiView() { … … 43 43 bodyScrollPanel.AutoScroll = true; 44 44 #endregion 45 46 columnHeaderCache = new Dictionary<string, Label>();47 rowHeaderCache = new Dictionary<string, VerticalLabel>();48 bodyCache = new Dictionary<Tuple<string, string>, Control>();49 45 50 46 bodyScrollPanel.MouseWheel += bodyScrollPanel_MouseWheel; … … 113 109 tlp.ColumnStyles.Insert(idx, new ColumnStyle(SizeType.Absolute, GetColumnWidth())); 114 110 // shift right 115 for (int c = tlp.ColumnCount; c > 111 for (int c = tlp.ColumnCount; c > idx - 1; c--) { 116 112 for (int r = 0; r < tlp.RowCount; r++) { 117 113 var control = tlp.GetControlFromPosition(c, r); … … 233 229 #endregion 234 230 235 #region Creating Headers and Body 231 #region Creating Headers and Body 236 232 private Label GetColumnHeader(string variable) { 237 233 if (!columnHeaderCache.ContainsKey(variable)) {
Note: See TracChangeset
for help on using the changeset viewer.