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