Class that manages the list of chart objects.

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

Syntax

C#
[SerializableAttribute]
public class ChartObjectManager : ISerializable, 
	IOwnedDataSerializableAndRecreatable, IOwnedDataSerializable
Visual Basic
<SerializableAttribute>
Public Class ChartObjectManager
	Implements ISerializable, IOwnedDataSerializableAndRecreatable, IOwnedDataSerializable
Visual C++
[SerializableAttribute]
public ref class ChartObjectManager : ISerializable, 
	IOwnedDataSerializableAndRecreatable, IOwnedDataSerializable
F#
[<SerializableAttribute>]
type ChartObjectManager =  
    class
        interface ISerializable
        interface IOwnedDataSerializableAndRecreatable
        interface IOwnedDataSerializable
    end

Remarks

There is an instance of this class created with every trading system. This instance is global across all symbols. There is no need to create an instance of this. Once a chart object is created, it must be added to one or many charts identified by their symbols.

Examples

Add a ChartLine object to the ChartObjectManager (C#)
 Copy imageCopy
// Setup our X coordinates.
DateTime startDate = DateTime.Now;
DateTime lastWeek = startDate.AddDays(-7);

// Create the line object
ChartLine line = new ChartLine(new ChartPoint(startDate, 20.00), new ChartPoint(lastWeek, 25.00), Color.RoyalBlue, 3);

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

Inheritance Hierarchy

System..::..Object
  RightEdge.Common..::..ChartObjectManager

See Also