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 ChartParallelogram : ChartTriangle
Visual Basic
<SerializableAttribute>
Public Class ChartParallelogram
	Inherits ChartTriangle
Visual C++
[SerializableAttribute]
public ref class ChartParallelogram : public ChartTriangle
F#
[<SerializableAttribute>]
type ChartParallelogram =  
    class
        inherit ChartTriangle
    end

Remarks

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

Examples

Create a parallelogram 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 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

See Also