Adds a data label to the chart canvas.

Namespace: Mindscape.SilverlightElements.Charting
Assembly: Mindscape.SilverlightElements (in Mindscape.SilverlightElements.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
protected internal void AddDataLabel(
	int index,
	Brush brush
)
Visual Basic
Protected Friend Sub AddDataLabel ( _
	index As Integer, _
	brush As Brush _
)
Visual C++
protected public:
void AddDataLabel(
	int index, 
	Brush^ brush
)

Parameters

index
Type: System..::..Int32
The index of the data to create a label for.
brush
Type: System.Windows.Media..::..Brush
The Brush used to color the data label.

See Also