Class
ChartSmartLabelsStrategyBase

Base class for strategies for arranging labels.

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

cs-api-definition
public abstract class ChartSmartLabelsStrategyBase

Inheritance: objectChartSmartLabelsStrategyBase

Derived Classes: ChartSmartLabelsStrategyPieChartSmartLabelsStrategy

Constructors

ChartSmartLabelsStrategyBase()

Initializes a new instance of the ChartSmartLabelsStrategyBase class.

Declaration

cs-api-definition
protected ChartSmartLabelsStrategyBase()

Methods

CalculateLabelsPositions(RadRect, ReadOnlyCollection<ChartSeriesLabelPositionInfo>)

Calculates the position of each individual label, so that it does not overlap with other labels. When overridden in derived class the FinalLayoutSlot property should be set for each item.

Declaration

cs-api-definition
protected virtual void CalculateLabelsPositions(RadRect plotAreaClip, ReadOnlyCollection<ChartSeriesLabelPositionInfo> labelPositionInfos)

Parameters

plotAreaClip

RadRect

The plot area rectangle.

labelPositionInfos

ReadOnlyCollection<ChartSeriesLabelPositionInfo>

A list of objects that carry information about a series label.