Draw a filled or transparent ellipse on a chart.
Namespace:
RightEdge.Common.ChartObjectsAssembly: Common (in Common.dll)
Version: 2008.1.0.0 (2008.1.0.0)
Syntax
| C# |
|---|
[SerializableAttribute] public class ChartEllipse : ChartFilledObjectBase |
| Visual Basic (Declaration) |
|---|
<SerializableAttribute> _ Public Class ChartEllipse _ Inherits ChartFilledObjectBase |
| Visual C++ |
|---|
[SerializableAttribute] public ref class ChartEllipse : public ChartFilledObjectBase |
Examples
Create an ellipse object programmatically (C#)
CopyC#
// 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
System..::.Object
RightEdge.Common.ChartObjects..::.ChartObjectBase
RightEdge.Common.ChartObjects..::.ChartFilledObjectBase
RightEdge.Common.ChartObjects..::.ChartEllipse
RightEdge.Common.ChartObjects..::.ChartObjectBase
RightEdge.Common.ChartObjects..::.ChartFilledObjectBase
RightEdge.Common.ChartObjects..::.ChartEllipse