Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/30/11 18:07:32 (13 years ago)
Author:
abeham
Message:

#1465, #1469, #1470, #1494, #1496, #1497, #1539, #1487

  • merged to trunk
Location:
trunk/sources
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources

  • trunk/sources/HeuristicLab.Analysis

  • trunk/sources/HeuristicLab.Analysis/3.3/DataVisualization/DataRowVisualProperties.cs

    r5445 r6342  
    3636      Columns,
    3737      Points,
    38       Bars
     38      Bars,
     39      Histogram
     40    }
     41    #endregion
     42    #region LineStyle
     43    public enum DataRowLineStyle {
     44      Dash,
     45      DashDot,
     46      DashDotDot,
     47      Dot,
     48      NotSet,
     49      Solid
    3950    }
    4051    #endregion
     
    6071      }
    6172    }
     73    private bool secondXAxis;
     74    public bool SecondXAxis {
     75      get { return secondXAxis; }
     76      set {
     77        if (secondXAxis != value) {
     78          secondXAxis = value;
     79          OnPropertyChanged("SecondXAxis");
     80        }
     81      }
     82    }
    6283    private Color color;
    6384    public Color Color {
     
    7091      }
    7192    }
     93    private DataRowLineStyle lineStyle;
     94    public DataRowLineStyle LineStyle {
     95      get { return lineStyle; }
     96      set {
     97        if (lineStyle != value) {
     98          lineStyle = value;
     99          OnPropertyChanged("LineStyle");
     100        }
     101      }
     102    }
    72103    private bool startIndexZero;
    73104    public bool StartIndexZero {
     
    77108          startIndexZero = value;
    78109          OnPropertyChanged("StartIndexZero");
     110        }
     111      }
     112    }
     113    private int lineWidth;
     114    public int LineWidth {
     115      get { return lineWidth; }
     116      set {
     117        if (lineWidth != value) {
     118          lineWidth = value;
     119          OnPropertyChanged("LineWidth");
     120        }
     121      }
     122    }
     123    private int bins;
     124    public int Bins {
     125      get { return bins; }
     126      set {
     127        if (bins != value) {
     128          bins = value;
     129          OnPropertyChanged("Bins");
     130        }
     131      }
     132    }
     133    private bool exactBins;
     134    public bool ExactBins {
     135      get { return exactBins; }
     136      set {
     137        if (exactBins != value) {
     138          exactBins = value;
     139          OnPropertyChanged("ExactBins");
    79140        }
    80141      }
     
    92153      set { secondYAxis = value; }
    93154    }
     155    [Storable(Name = "SecondXAxis")]
     156    private bool StorableSecondXAxis {
     157      get { return secondXAxis; }
     158      set { secondXAxis = value; }
     159    }
    94160    [Storable(Name = "Color")]
    95161    private Color StorableColor {
     
    97163      set { color = value; }
    98164    }
     165    [Storable(Name = "LineStyle")]
     166    private DataRowLineStyle StorableLineStyle {
     167      get { return lineStyle; }
     168      set { lineStyle = value; }
     169    }
    99170    [Storable(Name = "StartIndexZero")]
    100171    private bool StorableStartIndexZero {
    101172      get { return startIndexZero; }
    102173      set { startIndexZero = value; }
     174    }
     175    [Storable(Name = "LineWidth")]
     176    private int StorableLineWidth {
     177      get { return lineWidth; }
     178      set { lineWidth = value; }
     179    }
     180    [Storable(Name = "Bins")]
     181    private int StorableBins {
     182      get { return bins; }
     183      set { bins = value; }
     184    }
     185    [Storable(Name = "ExactBins")]
     186    private bool StorableExactBins {
     187      get { return exactBins; }
     188      set { exactBins = value; }
    103189    }
    104190    #endregion
     
    110196      this.chartType = original.chartType;
    111197      this.secondYAxis = original.secondYAxis;
     198      this.secondXAxis = original.secondXAxis;
    112199      this.color = original.color;
     200      this.lineStyle = original.lineStyle;
    113201      this.startIndexZero = original.startIndexZero;
     202      this.lineWidth = original.lineWidth;
     203      this.bins = original.bins;
     204      this.exactBins = original.exactBins;
    114205    }
    115206    public DataRowVisualProperties() {
    116207      chartType = DataRowChartType.Line;
    117208      secondYAxis = false;
     209      secondXAxis = false;
    118210      color = Color.Empty;
     211      lineStyle = DataRowLineStyle.Solid;
    119212      startIndexZero = false;
     213      lineWidth = 1;
     214      bins = 10;
     215      exactBins = false;
    120216    }
    121217
Note: See TracChangeset for help on using the changeset viewer.