A Parallelogram chart object

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

Syntax

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

Remarks

This object plots a triangle on the chart.

Examples

Create a triangle object programmatically (C#)
 Copy imageCopy
// 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