Symmetry Line
Namespace:
RightEdge.Common.ChartObjectsAssembly: Common (in Common.dll)
Version: 2008.1.0.0 (2008.1.0.0)
Syntax
| C# |
|---|
[SerializableAttribute] public class ChartSymmetryLine : ChartCycleLineBase |
| Visual Basic (Declaration) |
|---|
<SerializableAttribute> _ Public Class ChartSymmetryLine _ Inherits ChartCycleLineBase |
| Visual C++ |
|---|
[SerializableAttribute] public ref class ChartSymmetryLine : public ChartCycleLineBase |
Remarks
Draws three vertical lines that are all equidistant from each other.
Point 1 is the center line. Point 2 describes the distance between
the remaining lines. For example, if the distance between point 1
and point 2 is 10, lines would be drawn at -10, 0, and 10.
Examples
Create symmetry line object programmatically (C#)
CopyC#
// Setup our X coordinates. DateTime point1 = DateTime.Now.AddDays(-10); DateTime point2 = DateTime.Now.AddDays(-5); // Create the symmetry line object. ChartSymmetryLine symmetryLine = new ChartSymmetryLine(new ChartPoint(point1, 25.00), new ChartPoint(point2, 25.00)); // Add this object to the chart. "symbol" would equal the current symbol object in the system. ChartObjects.Add(symbol, symmetryLine);
Inheritance Hierarchy
System..::.Object
RightEdge.Common.ChartObjects..::.ChartObjectBase
RightEdge.Common.ChartObjects..::.ChartCycleLineBase
RightEdge.Common.ChartObjects..::.ChartSymmetryLine
RightEdge.Common.ChartObjects..::.ChartObjectBase
RightEdge.Common.ChartObjects..::.ChartCycleLineBase
RightEdge.Common.ChartObjects..::.ChartSymmetryLine