Example #1
0
 /// <summary>
 /// Resets all configurable properties of the axis to default values
 /// </summary>
 public virtual void Reset()
 {
     Increment       = 1;
     ShowLabelsEvery = DefaultShowLabelsEvery;
     Visible         = true;
     Text            = "";
     LabelGetter     = DefaultLabelGetter;
     Minimum         = null;
 }
Example #2
0
 /// <summary>
 /// Populates base properties and sets the read only <see cref="Orientation"/>
 /// </summary>
 /// <param name="orientation"></param>
 protected Axis(Orientation orientation)
 {
     Orientation = orientation;
     LabelGetter = DefaultLabelGetter;
 }