A vertical line.

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

Syntax

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

Remarks

This object is a vertical line that can be moved horizontally.

Examples

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

// Create the vertical line object draw at last week's bar
ChartVerticalLine line = new ChartVerticalLine(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