Class
SmartLabelsStrategyBase

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: FourPositionsLabelsStrategyPieTwoLabelColumnsStrategyVerticalAdjusmentLabelsStrategy

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

int

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

ChartSeriesCollection

All the series in the current chart view.

plotArea

Rectangle

The plot area.