示例#1
0
        //    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);
        }
示例#2
0
 public LineHObj(LineHObj rhs) : base(rhs)
 {
     Value  = rhs.Value;
     Tag    = rhs.Tag;
     _brush = new SolidBrush(Color);
 }