Class ChartSeriesLabelStrategy
Allows for pluggable customization of the appearance and layout of data point labels within a Chart
Inheritance
Namespace: Telerik.Windows.Controls.ChartView
Assembly: Telerik.Windows.Controls.Chart.dll
Syntax
public abstract class ChartSeriesLabelStrategy : Object
Constructors
ChartSeriesLabelStrategy()
Declaration
protected ChartSeriesLabelStrategy()
Properties
Options
Gets the functionality this strategy handles.
Declaration
public abstract LabelStrategyOptions Options { get; }
Property Value
Methods
CreateDefaultVisual(DataPoint, Int32)
Creates a System.
Declaration
public virtual FrameworkElement CreateDefaultVisual(DataPoint point, int labelIndex)
Parameters
Data The data point a label is needed for. |
System. The index of the label. More than one label is supported per data point. |
Returns
System.
|
GetLabelContent(DataPoint, Int32)
Gets the content for the label at the specified index, associated with the provided data point.
Declaration
public virtual object GetLabelContent(DataPoint point, int labelIndex)
Parameters
Data The data point the label is associated with. |
System.
|
Returns
System.
|
GetLabelDesiredSize(DataPoint, FrameworkElement, Int32)
Gets the Rad
Declaration
public virtual RadSize GetLabelDesiredSize(DataPoint point, FrameworkElement visual, int labelIndex)
Parameters
Data
|
System.
|
System.
|
Returns
GetLabelLayoutSlot(DataPoint, FrameworkElement, Int32)
Gets the Rad
Declaration
public virtual RadRect GetLabelLayoutSlot(DataPoint point, FrameworkElement visual, int labelIndex)
Parameters
Data
|
System.
|
System.
|
Returns
SetLabelContent(DataPoint, FrameworkElement, Int32)
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
Data The data point the label is associated with. |
System. The System. |
System. The label index. |