Returns the constrained position of a data label.

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

Syntax

C#
protected Point PerformLabelBoundsCorrection(
	double left,
	double top,
	double labelWidth,
	double labelHeight
)
Visual Basic
Protected Function PerformLabelBoundsCorrection ( _
	left As Double, _
	top As Double, _
	labelWidth As Double, _
	labelHeight As Double _
) As Point
Visual C++
protected:
Point PerformLabelBoundsCorrection(
	double left, 
	double top, 
	double labelWidth, 
	double labelHeight
)

Parameters

left
Type: System..::..Double
The desired horizontal position of the data label.
top
Type: System..::..Double
The desired vertical position of the data label.
labelWidth
Type: System..::..Double
The width of the data label.
labelHeight
Type: System..::..Double
The height of the data label.

Return Value

The position of the data label constrained by the bounds of the chart canvas.

See Also