A vertical line.
Namespace:
RightEdge.Common.ChartObjectsAssembly: Common (in Common.dll)
Version: 2008.1.0.0 (2008.1.0.0)
Syntax
| C# |
|---|
[SerializableAttribute] public class ChartVerticalLine : ChartSingleLineBase |
| Visual Basic (Declaration) |
|---|
<SerializableAttribute> _ Public Class ChartVerticalLine _ Inherits ChartSingleLineBase |
| Visual C++ |
|---|
[SerializableAttribute] public ref class ChartVerticalLine : public ChartSingleLineBase |
Remarks
This object is a vertical line that can be moved horizontally.
Examples
Create a vertical line programmatically (C#)
CopyC#
// 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
System..::.Object
RightEdge.Common.ChartObjects..::.ChartObjectBase
RightEdge.Common.ChartObjects..::.ChartSingleLineBase
RightEdge.Common.ChartObjects..::.ChartVerticalLine
RightEdge.Common.ChartObjects..::.ChartObjectBase
RightEdge.Common.ChartObjects..::.ChartSingleLineBase
RightEdge.Common.ChartObjects..::.ChartVerticalLine