Class PieChartSmartLabelsStrategy
A specific strategy for arranging labels in a pie chart.
Namespace: Telerik.Windows.Controls.ChartView
Assembly: Telerik.Windows.Controls.Chart.dll
Syntax
public class PieChartSmartLabelsStrategy : ChartSmartLabelsStrategyBase
Constructors
PieChartSmartLabelsStrategy()
Declaration
public PieChartSmartLabelsStrategy()
Properties
DisplayMode
Gets or sets the label display mode.
Declaration
public PieChartLabelsDisplayMode DisplayMode { get; set; }
Property Value
PieChartLabelsDisplayMode
|
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 override 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. |