Symmetry Line

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

Syntax

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

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#)
 Copy imageCopy
// 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

See Also