Changeset 15220 for stable/HeuristicLab.Analysis.Views/3.3
- Timestamp:
- 07/12/17 21:59:49 (7 years ago)
- Location:
- stable
- Files:
-
- 3 edited
- 4 copied
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 14102,14647,14652,14654,14734,14737,14775,15048,15125-15126
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Analysis.Views
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Analysis.Views merged: 14102,14734,14737,15048
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Analysis.Views/3.3/GanttDataView.cs
r14734 r15220 50 50 Content.Rows.ItemsReplaced += GanttRowsOnChanged; 51 51 Content.Rows.CollectionReset += GanttRowsOnChanged; 52 Content.CategoryColors.ItemsAdded += GanttCategoryColorsOnChanged; 53 Content.CategoryColors.ItemsRemoved += GanttCategoryColorsOnChanged; 54 Content.CategoryColors.ItemsReplaced += GanttCategoryColorsOnChanged; 55 Content.CategoryColors.CollectionReset += GanttCategoryColorsOnChanged; 52 56 foreach (var row in Content.Rows) 53 57 RegisterGanttRowEvents(row); … … 73 77 Content.Rows.ItemsReplaced -= GanttRowsOnChanged; 74 78 Content.Rows.CollectionReset -= GanttRowsOnChanged; 79 Content.CategoryColors.ItemsAdded -= GanttCategoryColorsOnChanged; 80 Content.CategoryColors.ItemsRemoved -= GanttCategoryColorsOnChanged; 81 Content.CategoryColors.ItemsReplaced -= GanttCategoryColorsOnChanged; 82 Content.CategoryColors.CollectionReset -= GanttCategoryColorsOnChanged; 75 83 foreach (var row in Content.Rows) 76 84 DeregisterGanttRowEvents(row); … … 121 129 122 130 ganttChart.Hide(); 131 ganttChart.Title = string.IsNullOrWhiteSpace(Content.Name) ? null : Content.Name; 123 132 foreach (var row in Content.Rows) { 124 133 foreach (var item in row.Items) { … … 138 147 UpdateVisualization(); 139 148 } 140 141 149 private void GanttRowsOnRemoved(object sender, CollectionItemsChangedEventArgs<GanttRow> e) { 142 150 foreach (var row in e.Items) 143 151 DeregisterGanttRowEvents(row); 144 152 153 UpdateVisualization(); 154 } 155 private void GanttCategoryColorsOnChanged(object sender, EventArgs e) { 145 156 UpdateVisualization(); 146 157 } -
stable/HeuristicLab.Analysis.Views/3.3/HeuristicLab.Analysis.Views-3.3.csproj
r15097 r15220 132 132 <DependentUpon>DataTableView.cs</DependentUpon> 133 133 </Compile> 134 <Compile Include="GanttDataView.cs"> 135 <SubType>UserControl</SubType> 136 </Compile> 137 <Compile Include="GanttDataView.Designer.cs"> 138 <DependentUpon>GanttDataView.cs</DependentUpon> 139 </Compile> 140 <Compile Include="IndexedDataTableView.cs"> 141 <SubType>UserControl</SubType> 142 </Compile> 143 <Compile Include="IndexedDataTableView.Designer.cs"> 144 <DependentUpon>IndexedDataTableView.cs</DependentUpon> 145 </Compile> 134 146 <Compile Include="ScatterPlotView.cs"> 135 147 <SubType>UserControl</SubType> -
stable/HeuristicLab.Analysis.Views/3.3/IndexedDataTableView.cs
r14102 r15220 158 158 series.BorderColor = Color.Empty; 159 159 160 if (row.VisualProperties.Color != Color.Empty) 161 series.Color = row.VisualProperties.Color; 162 else series.Color = Color.Empty; 160 series.Color = row.VisualProperties.Color; 163 161 series.IsVisibleInLegend = row.VisualProperties.IsVisibleInLegend; 164 162 … … 561 559 for (int i = 0; i < row.Values.Count; i++) { 562 560 var value = row.Values[i]; 561 if (IsInvalidValue(value.Item2)) continue; 563 562 var point = new DataPoint(); 564 563 point.SetValueXY(value.Item1, value.Item2);
Note: See TracChangeset
for help on using the changeset viewer.