Draw a filled or transparent ellipse on a chart.

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

Syntax

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

Examples

Create an ellipse object programmatically (C#)
 Copy imageCopy
// Setup our X coordinates.
DateTime startDate = DateTime.Now;
DateTime lastWeek = startDate.AddDays(-7);

// Create the ellipse object
ChartEllipse ellipse = new ChartEllipse(new ChartPoint(lastWeek, 20.00), new ChartPoint(startDate, 25.00));

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

Inheritance Hierarchy

See Also