Draw a filled or transparent circle 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 ChartCircle : ChartFilledObjectBase |
| Visual Basic (Declaration) |
|---|
<SerializableAttribute> _ Public Class ChartCircle _ Inherits ChartFilledObjectBase |
| Visual C++ |
|---|
[SerializableAttribute] public ref class ChartCircle : public ChartFilledObjectBase |
Examples
Create a circle object programmatically (C#)
CopyC#
// Setup our X coordinates. DateTime startDate = DateTime.Now; DateTime lastWeek = startDate.AddDays(-7); // Create the circle object ChartCircle circle = new ChartCircle(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, circle);
Inheritance Hierarchy
System..::.Object
RightEdge.Common.ChartObjects..::.ChartObjectBase
RightEdge.Common.ChartObjects..::.ChartFilledObjectBase
RightEdge.Common.ChartObjects..::.ChartCircle
RightEdge.Common.ChartObjects..::.ChartObjectBase
RightEdge.Common.ChartObjects..::.ChartFilledObjectBase
RightEdge.Common.ChartObjects..::.ChartCircle