Calculates automatic position of data label.

Namespace:  C1.Silverlight.Chart
Assembly:  C1.Silverlight.Chart (in C1.Silverlight.Chart.dll)

Syntax

C#
protected override LabelAlignment AutoPosition(
	Size labelSize,
	ref Point hot,
	ref Point offset
)
Visual Basic
Protected Overrides Function AutoPosition ( _
	labelSize As Size, _
	ByRef hot As Point, _
	ByRef offset As Point _
) As LabelAlignment

Parameters

labelSize
Type: System.Windows..::..Size
Size of the label.
hot
Type: System.Windows..::..Point%
Hot point (coordinates of the data point) of l.
offset
Type: System.Windows..::..Point%
Offset of the label from the hot point.

Return Value

The alignment of the label.

See Also