Changeset 14495 for branches/DataPreprocessing Enhancements/HeuristicLab.DataPreprocessing.Views/3.4
- Timestamp:
- 12/16/16 14:47:38 (8 years ago)
- Location:
- branches/DataPreprocessing Enhancements/HeuristicLab.DataPreprocessing.Views/3.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing Enhancements/HeuristicLab.DataPreprocessing.Views/3.4/ScatterPlotMultiView.cs
r14467 r14495 267 267 } else { //scatter plot 268 268 var scatterPlot = Content.CreateScatterPlot(colVariable, rowVariable); 269 foreach (var row in scatterPlot.Rows) 270 row.VisualProperties.PointSize = 3; 269 271 scatterPlot.VisualProperties.Title = string.Empty; 270 272 var scatterPlotControl = new /*Preprocessing*/ScatterPlotControl { -
branches/DataPreprocessing Enhancements/HeuristicLab.DataPreprocessing.Views/3.4/ScatterPlotSingleView.cs
r14474 r14495 88 88 var groupVariable = (string)comboBoxGroup.SelectedItem; 89 89 ScatterPlot scatterPlot = Content.CreateScatterPlot(xVariable, yVariable, groupVariable); 90 foreach (var row in scatterPlot.Rows) 91 row.VisualProperties.PointSize = 6; 90 92 var vp = scatterPlot.VisualProperties; 91 93 vp.Title = string.Empty; … … 115 117 116 118 foreach (var x in newPlot.Rows.Zip(oldPlot.Rows, (nr, or) => new { nr, or })) { 117 x.nr.VisualProperties.PointSize = x.or.VisualProperties.PointSize;118 x.nr.VisualProperties.PointStyle = x.or.VisualProperties.PointStyle;119 x.nr.VisualProperties .Color = x.or.VisualProperties.Color;119 var newVisuapProperties = (ScatterPlotDataRowVisualProperties)x.or.VisualProperties.Clone(); 120 newVisuapProperties.DisplayName = x.nr.VisualProperties.DisplayName; 121 x.nr.VisualProperties = newVisuapProperties; 120 122 } 121 123 } … … 133 135 134 136 foreach (var x in newPlot.Rows.Zip(oldPlot.Rows, (nr, or) => new { nr, or })) { 135 x.nr.VisualProperties.PointSize = x.or.VisualProperties.PointSize;136 x.nr.VisualProperties.PointStyle = x.or.VisualProperties.PointStyle;137 x.nr.VisualProperties .Color = x.or.VisualProperties.Color;137 var newVisuapProperties = (ScatterPlotDataRowVisualProperties)x.or.VisualProperties.Clone(); 138 newVisuapProperties.DisplayName = x.nr.VisualProperties.DisplayName; 139 x.nr.VisualProperties = newVisuapProperties; 138 140 } 139 141 }
Note: See TracChangeset
for help on using the changeset viewer.