ClassEightPositionsLabelsStrategy
Class
Represents a Fast Algorithm for Label Placement implementation for the RadChartView labels with 8 possible label positions.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.ChartView.dll
Syntax:
cs-api-definition
public class EightPositionsLabelsStrategy : FourPositionsLabelsStrategy
Inheritance: objectSmartLabelsStrategyBaseFourPositionsLabelsStrategyEightPositionsLabelsStrategy
Inherited Members
Constructors
EightPositionsLabelsStrategy()
Declaration
cs-api-definition
public EightPositionsLabelsStrategy()
Properties
PositionsPerLabel
Gets or sets the number of label positions the strategy will serach in.
Declaration
cs-api-definition
protected override int PositionsPerLabel { get; }
Property Value
Overrides
Methods
GetLabelLineSide(int)
Gets the label LineSide corresponding to the label position.
GetLabelRectangle(LabelElement, int)
Gets the label rectangle from its position.
Declaration
cs-api-definition
protected override Rectangle GetLabelRectangle(LabelElement label, int labelPosition)
Parameters
label
The label.
labelPosition
The label position.
Returns
Overrides