A horizontal line.

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

Syntax

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

Remarks

This object is a horizontal line that can be moved vertically.

Examples

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

// Create the horizontal line object draw at last week's bar
ChartHorizontalLine line = new ChartHorizontalLine(new ChartPoint(lastWeek, 25.00));

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

Inheritance Hierarchy

See Also