/// <summary> /// The Copy Constructor /// </summary> /// <param name="rhs">The <see cref="JapaneseCandleStickItem"/> object from which to copy</param> public JapaneseCandleStickItem(JapaneseCandleStickItem rhs) : base(rhs) { _stick = rhs._stick.Clone(); }
/// <summary> /// Create a new <see cref="OHLCBarItem"/>, specifying only the legend label. /// </summary> /// <param name="label">The label that will appear in the legend.</param> public JapaneseCandleStickItem(string label) : base(label) { base._objPrefix = "Japanese Candle Stick Item"; _stick = new JapaneseCandleStick(); }
/// <summary> /// Create a new <see cref="JapaneseCandleStickItem"/> using the specified properties. /// </summary> /// <param name="label">The label that will appear in the legend.</param> /// <param name="points">An <see cref="IPointList"/> of double precision values that define /// the Date, Close, Open, High, and Low values for the curve. Note that this /// <see cref="IPointList" /> should contain <see cref="StockPt" /> items rather /// than <see cref="PointPair" /> items. /// </param> public JapaneseCandleStickItem(string label, IPointList points) : base(label, points) { base._objPrefix = "Japanese Candle Stick Item"; _stick = new JapaneseCandleStick(); }