Class PieLabelPositionGenerator
Represents a class responsible for generation of label positions for radial series types.
Inherited Members
Namespace: Telerik.Windows.Controls.Charting.LabelsPositioning
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public class PieLabelPositionGenerator : LabelPositionGenerator, ILabelPositionGenerator
Constructors
PieLabelPositionGenerator(RadialSeriesDefinition)
Initializes a new instance of the PieLabelPositionGenerator class.
Declaration
public PieLabelPositionGenerator(RadialSeriesDefinition definition)
Parameters
RadialSeriesDefinition
definition
The definition. |
Methods
AdjustSize(Rect)
Adjusts the size.
Declaration
protected override Size AdjustSize(Rect finalRect)
Parameters
System.Windows.Rect
finalRect
The final System.Windows.Rect. |
Returns
System.Windows.Size
|
Overrides
AlignLabel(SeriesItemLabel, Point, Point, Int32)
Aligns the label.
Declaration
protected override Point AlignLabel(SeriesItemLabel label, Point originalLocation, Point locationAdjustment, int direction)
Parameters
SeriesItemLabel
label
The label. |
System.Windows.Point
originalLocation
The original location. |
System.Windows.Point
locationAdjustment
The location adjustment. |
System.Int32
direction
The direction. |
Returns
System.Windows.Point
|
Overrides
CalculateCenterPoint(Rect)
Calculates the center point.
Declaration
protected override Point CalculateCenterPoint(Rect finalRect)
Parameters
System.Windows.Rect
finalRect
The final System.Windows.Rect. |
Returns
System.Windows.Point
|
Overrides
CalculateConnectorPoints(Point, Rect, Rect)
Calculates the connector points.
Declaration
public override 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
|
Returns
System.Windows.Media.PointCollection
|
Overrides
CalculateLabelPoint(DataRange, DataRange, SeriesItemLabel)
Calculates the label point.
Declaration
protected override Point CalculateLabelPoint(DataRange horizontalRange, DataRange verticalRange, SeriesItemLabel label)
Parameters
DataRange
horizontalRange
The horizontal range. |
DataRange
verticalRange
The vertical range. |
SeriesItemLabel
label
The label. |
Returns
System.Windows.Point
|
Overrides
CalculateRelativeConnectorStartPoint(DataRange, DataRange, SeriesItemLabel)
Calculates the relative connector start point.
Declaration
protected override Point CalculateRelativeConnectorStartPoint(DataRange horizontalRange, DataRange verticalRange, SeriesItemLabel label)
Parameters
DataRange
horizontalRange
The horizontal range. |
DataRange
verticalRange
The vertical range. |
SeriesItemLabel
label
The label. |
Returns
System.Windows.Point
|