// override internal float GetMinPix( GraphPane pane ) // { // return pane.Chart._rect.Top; // } /// <summary> /// Add a horizontal line object to given collection /// </summary> public LineHObj AddHLine(Color color, object tag = null) { var line = new LineHObj(this, color, tag); LineHObjs.Add(line); return(line); }
public LineHObj(LineHObj rhs) : base(rhs) { Value = rhs.Value; Tag = rhs.Tag; _brush = new SolidBrush(Color); }