New to Telerik UI for WinFormsStart a free 30-day trial

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:

C#
public abstract class SmartLabelsStrategyBase

Inheritance: objectSmartLabelsStrategyBase

Derived Classes: FourPositionsLabelsStrategyPieTwoLabelColumnsStrategyVerticalAdjusmentLabelsStrategy

Constructors

C#
protected SmartLabelsStrategyBase()

Properties

Gets or sets the distance to add or subtract from the label rectangle to label.

C#
public int DistanceToLabel { get; set; }
Property Value:

The distance to label.

Methods

Within this method labels' positions are calculated and are set to the SmartLocation property of each label.

C#
public abstract void CalculateLocations(ChartSeriesCollection series, Rectangle plotArea)
Parameters:seriesChartSeriesCollection

All the series in the current chart view.

plotAreaRectangle

The plot area.