A Parallelogram chart object

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

Syntax

C#
[SerializableAttribute]
public class ChartTriangle : ChartObjectBase
Visual Basic (Declaration)
<SerializableAttribute> _
Public Class ChartTriangle _
	Inherits ChartObjectBase
Visual C++
[SerializableAttribute]
public ref class ChartTriangle : public ChartObjectBase

Remarks

This object plots a triangle on the chart.

Examples

Create a triangle object programmatically (C#)
CopyC#
// Setup our X coordinates.
DateTime point1 = DateTime.Now.AddDays(-14);
DateTime point2 = DateTime.Now.AddDays(-7);
DateTime point3 = DateTime.Now;

// Create the triangle object
ChartTriangle triangle = new ChartTriangle(new ChartPoint(point1, 25.00),
                                            new ChartPoint(point2, 20.00),
                                            new ChartPoint(point3, 30.00));

// Add this object to the chart.  "symbol" would equal the current symbol object in the system.
ChartObjects.Add(symbol, triangle);

Inheritance Hierarchy

See Also