New to Telerik UI for WinFormsStart a free 30-day trial

Represents a Fast Algorithm for Label Placement implementation for the RadChartView labels with 8 possible label positions.

Definition

Constructors

C#
public EightPositionsLabelsStrategy()

Properties

Gets or sets the number of label positions the strategy will serach in.

C#
protected override int PositionsPerLabel { get; }

Overrides: FourPositionsLabelsStrategy.PositionsPerLabel

Methods

Gets the label LineSide corresponding to the label position.

C#
protected override LineSide GetLabelLineSide(int labelPosition)
Parameters:labelPositionint

The label position.

Returns:

LineSide

Overrides: FourPositionsLabelsStrategy.GetLabelLineSide(int)

Gets the label rectangle from its position.

C#
protected override Rectangle GetLabelRectangle(LabelElement label, int labelPosition)
Parameters:labelLabelElement

The label.

labelPositionint

The label position.

Returns:

Rectangle

Overrides: FourPositionsLabelsStrategy.GetLabelRectangle(LabelElement, int)