private AxisProperties(DisplayTypeSurfaceItem surface, AxisDrawType type) { this._type = type; this._specialValues = new List<KeyValuePair<double, string>> (); this._surface = surface; _zero = new KeyValuePair<double, string>(0, "0"); _zeroPosition = 0.5; }
public static AxisProperties CreateStatic(DisplayTypeSurfaceItem surface, double min, double max) { AxisProperties n = new AxisProperties (surface, AxisDrawType.Static); n._ylimDown = min; n._ylimUp = max; return n; }
public static AxisProperties CreateDelayedMaximum(DisplayTypeSurfaceItem surface, double delayTime) { AxisProperties n = new AxisProperties (surface, AxisDrawType.DelayedMaximum); n._delay = delayTime; return n; }
public static AxisProperties CreateMaximum(DisplayTypeSurfaceItem surface) { return new AxisProperties (surface, AxisDrawType.Maximum); }
public static AxisProperties CreateCurrent(DisplayTypeSurfaceItem surface) { return new AxisProperties (surface, AxisDrawType.Current); }