Label Object

Namespace:  RightEdge.Common.ChartObjects
Assembly:  Common (in Common.dll)
Version: 2008.1.0.0 (2008.1.0.0)

Syntax

C#
[SerializableAttribute]
public class ChartLabel : ChartTextBase
Visual Basic (Declaration)
<SerializableAttribute> _
Public Class ChartLabel _
	Inherits ChartTextBase
Visual C++
[SerializableAttribute]
public ref class ChartLabel : public ChartTextBase

Remarks

Draws a text label on the chart.

Examples

Create a label on the chart programmatically (C#)
CopyC#
// Setup our X coordinates.
DateTime point = DateTime.Now.AddDays(-10);

// Create the label object.
ChartLabel label = new ChartLabel(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, label);

Inheritance Hierarchy

See Also