Ignore:
Timestamp:
12/09/16 11:35:42 (4 years ago)
Author:
pfleck
Message:

#2709

  • Removed some groupboxes in ViewShortcutListView.
  • Removed unnecessary IViewChartShortcut
  • Split ScatterPlot Multi and Single in to separate contents.
  • Renamed Color-combo box in Scatterplot to "Group".
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing Enhancements/HeuristicLab.DataPreprocessing/3.4/Content/ScatterPlotContent.cs

    r14446 r14467  
    2121
    2222using System.Collections.Generic;
    23 using System.Drawing;
    2423using System.Linq;
    2524using HeuristicLab.Analysis;
    2625using HeuristicLab.Common;
    27 using HeuristicLab.Core;
    2826
    2927namespace HeuristicLab.DataPreprocessing {
    3028
    31   [Item("ScatterPlot", "Represents a scatter plot.")]
    32   public class ScatterPlotContent : PreprocessingChartContent {
    33 
    34     public string SelectedXVariable { get; set; }
    35     public string SelectedYVariable { get; set; }
    36     public string SelectedColorVariable { get; set; }
    37 
    38     public ScatterPlotContent(IFilteredPreprocessingData preprocessingData)
     29  public abstract class ScatterPlotContent : PreprocessingChartContent {
     30    protected ScatterPlotContent(IFilteredPreprocessingData preprocessingData)
    3931      : base(preprocessingData) {
    4032    }
    4133
    42     public ScatterPlotContent(ScatterPlotContent content, Cloner cloner)
     34    protected ScatterPlotContent(ScatterPlotContent content, Cloner cloner)
    4335      : base(content, cloner) {
    44       this.SelectedXVariable = content.SelectedXVariable;
    45       this.SelectedYVariable = content.SelectedYVariable;
    46       this.SelectedColorVariable = content.SelectedColorVariable;
    47     }
    48 
    49     public static new Image StaticItemImage {
    50       get { return HeuristicLab.Common.Resources.VSImageLibrary.Performance; }
    51     }
    52 
    53     public override IDeepCloneable Clone(Cloner cloner) {
    54       return new ScatterPlotContent(this, cloner);
    5536    }
    5637
Note: See TracChangeset for help on using the changeset viewer.