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