Calculates automatic position of data label.
Namespace:
C1.Silverlight.ChartAssembly: C1.Silverlight.Chart (in C1.Silverlight.Chart.dll)
Syntax
C# |
---|
protected virtual LabelAlignment AutoPosition( Size labelSize, ref Point hot, ref Point offset ) |
Visual Basic |
---|
Protected Overridable Function AutoPosition ( _ labelSize As Size, _ ByRef hot As Point, _ ByRef offset As Point _ ) As LabelAlignment |
Parameters
- labelSize
- Type: System.Windows..::..Size
Size of the label.
- hot
- Type: System.Windows..::..Point%
Hot point (coordinates of the data point) of l.
- offset
- Type: System.Windows..::..Point%
Offset of the label from the hot point.