ClassChartSeriesLabelStrategy
Allows for pluggable customization of the appearance and layout of data point labels within a ChartSeries instance.
Definition
Namespace:Telerik.Windows.Controls.ChartView
Assembly:Telerik.Windows.Controls.Chart.dll
Syntax:
public abstract class ChartSeriesLabelStrategy
Inheritance: objectChartSeriesLabelStrategy
Constructors
ChartSeriesLabelStrategy()
Declaration
protected ChartSeriesLabelStrategy()
Properties
Options
Gets the functionality this strategy handles.
Declaration
public abstract LabelStrategyOptions Options { get; }
Property Value
Methods
CreateDefaultVisual(DataPoint, int)
Creates a FrameworkElement instance that will represent the label for the provided data point.
GetLabelContent(DataPoint, int)
Gets the content for the label at the specified index, associated with the provided data point.
GetLabelDesiredSize(DataPoint, FrameworkElement, int)
Gets the RadSize structure that is the desired size of the specified label visual, associated with the provided data point.
GetLabelLayoutSlot(DataPoint, FrameworkElement, int)
Gets the RadRect structure that defines the layout slot of the label at the specified label index, associated with the provided data point.
SetLabelContent(DataPoint, FrameworkElement, int)
Sets the content of the label visual at the specified label index associated with the provided data point.
Declaration
public virtual void SetLabelContent(DataPoint point, FrameworkElement visual, int labelIndex)
Parameters
point
The data point the label is associated with.
visual
FrameworkElement
The FrameworkElement instance that represents the label.
labelIndex
The label index.