Class ChartSmartLabelsStrategyBase
Base class for strategies for arranging labels.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.ChartView
Assembly: Telerik.Windows.Controls.Chart.dll
Syntax
public abstract class ChartSmartLabelsStrategyBase
Constructors
ChartSmartLabelsStrategyBase()
Initializes a new instance of the ChartSmartLabelsStrategyBase class.
Declaration
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
protected virtual void CalculateLabelsPositions(RadRect plotAreaClip, ReadOnlyCollection<ChartSeriesLabelPositionInfo> labelPositionInfos)
Parameters
RadRect
plotAreaClip
The plot area rectangle. |
System.Collections.ObjectModel.ReadOnlyCollection<ChartSeriesLabelPositionInfo>
labelPositionInfos
A list of objects that carry information about a series label. |