Adds a ChartObject to the specified symbol using the specified name. This is useful for retrieving the created chart object at a later time. Use the GetNamedChartObject function to retrieve the instance.

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

Syntax

C#
public void Add(
	Symbol symbol,
	string name,
	IChartObject chartObject
)
Visual Basic (Declaration)
Public Sub Add ( _
	symbol As Symbol, _
	name As String, _
	chartObject As IChartObject _
)
Visual C++
public:
void Add(
	Symbol^ symbol, 
	String^ name, 
	IChartObject^ chartObject
)

Parameters

symbol
Type: RightEdge.Common..::.Symbol
Symbol to identify chart.
name
Type: System..::.String
Friendly name given to this chart object.
chartObject
Type: RightEdge.Common.ChartObjects..::.IChartObject
Instantiated ChartObject to add.

See Also