A horizontal line.

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

Syntax

C#
[SerializableAttribute]
public class ChartHorizontalLine : ChartSingleLineBase
Visual Basic
<SerializableAttribute>
Public Class ChartHorizontalLine
	Inherits ChartSingleLineBase
Visual C++
[SerializableAttribute]
public ref class ChartHorizontalLine : public ChartSingleLineBase
F#
[<SerializableAttribute>]
type ChartHorizontalLine =  
    class
        inherit ChartSingleLineBase
    end

Remarks

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

Examples

Create a horizontal line programmatically (C#)
 Copy imageCopy
// 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