ClassSmartLabelsStrategyBase
Class
Declares the methods and properties that are used when smart labels of RadChartView are positioned.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.ChartView.dll
Syntax:
cs-api-definition
public abstract class SmartLabelsStrategyBase
Inheritance: objectSmartLabelsStrategyBase
Derived Classes:
Constructors
SmartLabelsStrategyBase()
Declaration
cs-api-definition
protected SmartLabelsStrategyBase()
Properties
DistanceToLabel
Gets or sets the distance to add or subtract from the label rectangle to label.
Declaration
cs-api-definition
public int DistanceToLabel { get; set; }
Property Value
The distance to label.
Methods
CalculateLocations(ChartSeriesCollection, Rectangle)
Within this method labels' positions are calculated and are set to the SmartLocation property of each label.
Declaration
cs-api-definition
public abstract void CalculateLocations(ChartSeriesCollection series, Rectangle plotArea)
Parameters
series
All the series in the current chart view.
plotArea
The plot area.