/// <summary> /// The Copy Constructor /// </summary> /// <param name="rhs">The <see cref="LineItem"/> object from which to copy</param> public LineItem(LineItem rhs) : base(rhs) { symbol = new Symbol(rhs.Symbol); line = new Line(rhs.Line); }
/// <summary> /// Create a new <see cref="LineItem"/>, specifying only the legend label for the bar. /// </summary> /// <param name="label">The label that will appear in the legend.</param> public LineItem(string label) : base(label) { this.symbol = new Symbol(); this.line = new Line(); }
/// <summary> /// Create a new <see cref="LineItem"/> using the specified properties. /// </summary> /// <param name="label">The label that will appear in the legend.</param> /// <param name="points">A <see cref="PointPairList"/> of double precision value pairs that define /// the X and Y values for this curve</param> /// <param name="color">A <see cref="Color"/> value that will be applied to /// the <see cref="Line"/> and <see cref="Symbol"/> properties. /// </param> /// <param name="symbolType">A <see cref="SymbolType"/> enum specifying the /// type of symbol to use for this <see cref="LineItem"/> </param> public LineItem(string label, PointPairList points, Color color, SymbolType symbolType) : base(label, points) { line = new Line(color); this.symbol = new Symbol(symbolType, color); }