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

Base class for strategies for arranging labels.

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

C#
public abstract class ChartSmartLabelsStrategyBase

Inheritance: objectChartSmartLabelsStrategyBase

Derived Classes: ChartSmartLabelsStrategyPieChartSmartLabelsStrategy

Constructors

Initializes a new instance of the ChartSmartLabelsStrategyBase class.

C#
protected ChartSmartLabelsStrategyBase()

Methods

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.

C#
protected virtual void CalculateLabelsPositions(RadRect plotAreaClip, ReadOnlyCollection<ChartSeriesLabelPositionInfo> labelPositionInfos)
Parameters:plotAreaClipRadRect

The plot area rectangle.

labelPositionInfosReadOnlyCollection<ChartSeriesLabelPositionInfo>

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