Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/15/11 18:41:13 (14 years ago)
Author:
abeham
Message:

#1465

  • fine tuned UI for setting data(table|row) visual properties
  • added control for the data table visual properties
  • added a few more visual properties
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/histogram/HeuristicLab.Analysis/3.3/DataVisualization/DataRowVisualProperties.cs

    r6011 r6012  
    4040    }
    4141    #endregion
     42    #region LineStyle
     43    public enum DataRowLineStyle {
     44      Dash,
     45      DashDot,
     46      DashDotDot,
     47      Dot,
     48      NotSet,
     49      Solid
     50    }
     51    #endregion
    4252
    4353    private DataRowChartType chartType;
     
    8191      }
    8292    }
     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    }
    83103    private bool startIndexZero;
    84104    public bool StartIndexZero {
     
    88108          startIndexZero = value;
    89109          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");
    90120        }
    91121      }
     
    133163      set { color = value; }
    134164    }
     165    [Storable(Name = "LineStyle")]
     166    private DataRowLineStyle StorableLineStyle {
     167      get { return lineStyle; }
     168      set { lineStyle = value; }
     169    }
    135170    [Storable(Name = "StartIndexZero")]
    136171    private bool StorableStartIndexZero {
    137172      get { return startIndexZero; }
    138173      set { startIndexZero = value; }
     174    }
     175    [Storable(Name = "LineWidth")]
     176    private int StorableLineWidth {
     177      get { return lineWidth; }
     178      set { lineWidth = value; }
    139179    }
    140180    [Storable(Name = "Bins")]
     
    158198      this.secondXAxis = original.secondXAxis;
    159199      this.color = original.color;
     200      this.lineStyle = original.lineStyle;
    160201      this.startIndexZero = original.startIndexZero;
     202      this.lineWidth = original.lineWidth;
    161203      this.bins = original.bins;
    162204      this.exactBins = original.exactBins;
     
    167209      secondXAxis = false;
    168210      color = Color.Empty;
     211      lineStyle = DataRowLineStyle.Solid;
    169212      startIndexZero = false;
     213      lineWidth = 1;
    170214      bins = 10;
    171215      exactBins = false;
Note: See TracChangeset for help on using the changeset viewer.