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 ChartParallelogram : ChartTriangle
Visual Basic (Declaration)
<SerializableAttribute> _
Public Class ChartParallelogram _
	Inherits ChartTriangle
Visual C++
[SerializableAttribute]
public ref class ChartParallelogram : public ChartTriangle

Remarks

This object plots a parallelogram or a quadrilateral with opposite sides parallel.

Examples

Create a parallelogram 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 parallelogram object
ChartParallelogram parallelogram = new ChartParallelogram(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, parallelogram);

Inheritance Hierarchy

System..::.Object
  RightEdge.Common.ChartObjects..::.ChartObjectBase
    RightEdge.Common.ChartObjects..::.ChartTriangle
      RightEdge.Common.ChartObjects..::.ChartParallelogram

See Also