示例#1
0
        // 6-15-15  RW Added Add( x,y )
        /// <summary>
        /// Adds a new point with a real value to the series.
        /// </summary>
        public PointX Add(double x, double y)
        {
            PointX point = new PointX(x, y);

            Add(point);
            return(point);
        }
示例#2
0
        /// <summary>
        /// Implements the deep copy of the object.
        /// </summary>
        protected override object DeepCopy()
        {
            PointX point = (PointX)base.DeepCopy();

            if (point.lineFormat != null)
            {
                point.lineFormat        = point.lineFormat.Clone();
                point.lineFormat.parent = point;
            }
            if (point.fillFormat != null)
            {
                point.fillFormat        = point.fillFormat.Clone();
                point.fillFormat.parent = point;
            }
            return(point);
        }