Text Object
Namespace:
RightEdge.Common.ChartObjectsAssembly: Common (in Common.dll)
Version: 2008.1.0.0 (2008.1.0.0)
Syntax
| C# |
|---|
[SerializableAttribute] public class ChartText : ChartTextBase |
| Visual Basic (Declaration) |
|---|
<SerializableAttribute> _ Public Class ChartText _ Inherits ChartTextBase |
| Visual C++ |
|---|
[SerializableAttribute] public ref class ChartText : public ChartTextBase |
Remarks
Draws text on the chart.
Examples
Create text on the chart programmatically (C#)
CopyC#
// Setup our X coordinates. DateTime point = DateTime.Now.AddDays(-10); // Create the text object. ChartText text = new ChartText(new ChartPoint(point, 25.00), "Hello World"); // Add this object to the chart. "symbol" would equal the current symbol object in the system. ChartObjects.Add(symbol, text);
Inheritance Hierarchy
System..::.Object
RightEdge.Common.ChartObjects..::.ChartObjectBase
RightEdge.Common.ChartObjects..::.ChartTextBase
RightEdge.Common.ChartObjects..::.ChartText
RightEdge.Common.ChartObjects..::.ChartObjectBase
RightEdge.Common.ChartObjects..::.ChartTextBase
RightEdge.Common.ChartObjects..::.ChartText