Represents a specific strategy for arranging labels within the chart, so that they do not overlap with each other.
Definition
Namespace:Telerik.Windows.Controls.ChartView
Assembly:Telerik.Windows.Controls.Chart.dll
Syntax:
public sealed class ChartSmartLabelsStrategy : ChartSmartLabelsStrategyBase
Inheritance: objectChartSmartLabelsStrategyBaseChartSmartLabelsStrategy
Constructors
public ChartSmartLabelsStrategy()
Properties
Gets or sets a value indicating whether a more precise label positioning should be computed. When set to true, the strategy tries to minimize the connector conflicts - such as connectors intersecting point marks, labels and other connectors. When set to false the strategy is faster.
public bool ShouldMinimizeConnectorConflicts { 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.
protected override sealed 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: