Class BarLabelPositionGenerator
Represents a class responsible for generation of label positions for Bar series types.
Inherited Members
Namespace: Telerik.Windows.Controls.Charting.LabelsPositioning
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public class BarLabelPositionGenerator : LabelPositionGenerator, ILabelPositionGenerator
Constructors
BarLabelPositionGenerator(BarSeriesDefinition)
Initializes a new instance of the BarLabelPositionGenerator class.
Declaration
public BarLabelPositionGenerator(BarSeriesDefinition definition)
Parameters
BarSeriesDefinition
definition
The definition. |
Methods
AlignLabel(SeriesItemLabel, Point, Point, Int32)
Aligns the label.
Declaration
protected override Point AlignLabel(SeriesItemLabel label, Point originalLocation, Point locationAdjustment, int direction)
Parameters
SeriesItemLabel
label
The label. |
System.Windows.Point
originalLocation
The original location. |
System.Windows.Point
locationAdjustment
The location adjustment. |
System.Int32
direction
The direction. |
Returns
System.Windows.Point
|
Overrides
ApplyDistance(Point, Double, Int32)
Applies the absolute distance.
Declaration
protected override Point ApplyDistance(Point absolutePoint, double significantValue, int direction)
Parameters
System.Windows.Point
absolutePoint
The absolute point. |
System.Double
significantValue
The significant value. |
System.Int32
direction
The direction. |
Returns
System.Windows.Point
|
Overrides
CalculateLabelPoint(DataRange, DataRange, SeriesItemLabel)
Calculates the label point.
Declaration
protected override Point CalculateLabelPoint(DataRange horizontalRange, DataRange verticalRange, SeriesItemLabel label)
Parameters
DataRange
horizontalRange
The horizontal range. |
DataRange
verticalRange
The vertical range. |
SeriesItemLabel
label
The label. |
Returns
System.Windows.Point
|
Overrides
EvaluateDirection(SeriesItemLabel)
Evaluates the direction.
Declaration
protected override int EvaluateDirection(SeriesItemLabel label)
Parameters
SeriesItemLabel
label
The item label. |
Returns
System.Int32
|