예제 #1
0
 /// <summary>
 /// constructor without Group (=0) nor FillBrush (=null)
 /// </summary>
 public SerieSetting(
     Func <TRecord, double[]> newGetter,
     SerieStyleEnum newSerieStyle,
     Brush newStrokeBrush,
     double newStrokeThickness) :
     this(newGetter, newSerieStyle, 0, newStrokeBrush, newStrokeThickness, null)
 {
 }
예제 #2
0
 /// <summary>
 /// constructor with all parameters
 /// </summary>
 public SerieSetting(
     Func <TRecord, double[]> newGetter,
     SerieStyleEnum newSerieStyle,
     int newGroup,
     Brush newStrokeBrush,
     double newStrokeThickness,
     Brush?newFillBrush)
 {
     Getter          = newGetter;
     SerieStyle      = newSerieStyle;
     Group           = newGroup;
     StrokeBrush     = newStrokeBrush;
     StrokeThickness = newStrokeThickness;
     FillBrush       = newFillBrush;
 }