A line with an arrow head.

Namespace:  RightEdge.Common.ChartObjects
Assembly:  Common (in Common.dll)
Version: 2008.1.0.0 (2008.1.0.0)

Syntax

C#
[SerializableAttribute]
public class ChartArrowLine : ChartObjectBase
Visual Basic (Declaration)
<SerializableAttribute> _
Public Class ChartArrowLine _
	Inherits ChartObjectBase
Visual C++
[SerializableAttribute]
public ref class ChartArrowLine : public ChartObjectBase

Remarks

This object is simply a line that can be drawn in any direction. The end of the line has an arrow cap. The line can be rotated so that the arrow points in any direction.

Examples

Create an arrow line programmatically (C#)
CopyC#
// Setup our X coordinates.
DateTime startDate = DateTime.Now;
DateTime lastWeek = startDate.AddDays(-7);

// Create the arrow object
ChartArrowLine arrowLine = new ChartArrowLine(new ChartPoint(startDate, 20.00), new ChartPoint(lastWeek, 25.00), Color.RoyalBlue, 3);

// Add this object to the chart.  "symbol" would equal the current symbol object in the system.
ChartObjects.Add(symbol, arrowLine);

Inheritance Hierarchy

System..::.Object
  RightEdge.Common.ChartObjects..::.ChartObjectBase
    RightEdge.Common.ChartObjects..::.ChartArrowLine

See Also