A specific strategy for arranging labels in a pie chart.
Definition
Namespace:Telerik.Windows.Controls.ChartView
Assembly:Telerik.Windows.Controls.Chart.dll
Syntax:
C#
public class PieChartSmartLabelsStrategy : ChartSmartLabelsStrategyBase
Inheritance: objectChartSmartLabelsStrategyBasePieChartSmartLabelsStrategy
Constructors
C#
public PieChartSmartLabelsStrategy()
Properties
Gets or sets the label display mode.
C#
public PieChartLabelsDisplayMode DisplayMode { get; set; }
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 override void CalculateLabelsPositions(RadRect plotAreaClip, ReadOnlyCollection<ChartSeriesLabelPositionInfo> labelPositionInfos)
The plot area rectangle.
labelPositionInfosReadOnlyCollection<ChartSeriesLabelPositionInfo>A list of objects that carry information about a series label.
Overrides: