Interface ILabelPositionGenerator
Public interface for all the LabelPositionGenerator types.
Namespace: Telerik.Windows.Controls.Charting.LabelsPositioning
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public interface ILabelPositionGenerator
Methods
CalculateConnectorPoints(Point, Rect, Rect)
Calculates the connector points.
Declaration
PointCollection CalculateConnectorPoints(Point startPoint, Rect arrangedRect, Rect finalRect)
Parameters
System.Windows.Point
startPoint
The start point. |
System.Windows.Rect
arrangedRect
The arranged System.Windows.Rect. |
System.Windows.Rect
finalRect
The final System.Windows.Rect. |
Returns
System.Windows.Media.PointCollection
|
GeneratePositions(ChartArea, SeriesItemLabel, Rect)
Generates the alternative label positions.
Declaration
IList<Rect> GeneratePositions(ChartArea area, SeriesItemLabel label, Rect finalRect)
Parameters
ChartArea
area
The area. |
SeriesItemLabel
label
The label. |
System.Windows.Rect
finalRect
The final rectangle. |
Returns
System.Collections.Generic.IList<System.Windows.Rect>
|