Xceed Toolkit Plus for WPF v4.6 Documentation
ArrangeHint Method (PieLayout)


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.Chart Namespace > PieLayout Class : ArrangeHint Method
The Series containing the hint label and line that will be arranged.
The line primitive that will be used for the arrangement.
The label hint that will be used for the arrangement.
The radius of the pie section, used to calculate the placement of the label and line primitives.
The start angle of the pie section, used to calculate the placement of the label and line primitives.
The end angle of the pie section, used to calculate the placement of the label and line primitives.
The smaller of layoutBounds.Width and layoutBound.Height, used to calculate the placement of the label and line primitives.
The center of layoutBounds.
The layout bounds without tick and title labels.
Arranges the hint label and line.
Syntax
'Declaration
 
Protected Overridable Sub ArrangeHint( _
   ByVal series As Series, _
   ByVal lineHintPrimitive As ChartPrimitive, _
   ByVal labelHintElement As BaseTitleLabel, _
   ByVal radius As Double, _
   ByVal startAngle As Double, _
   ByVal endAngle As Double, _
   ByVal size As Double, _
   ByVal centerPoint As Point, _
   ByVal layoutedBounds As Rect _
) 
'Usage
 
Dim instance As PieLayout
Dim series As Series
Dim lineHintPrimitive As ChartPrimitive
Dim labelHintElement As BaseTitleLabel
Dim radius As Double
Dim startAngle As Double
Dim endAngle As Double
Dim size As Double
Dim centerPoint As Point
Dim layoutedBounds As Rect
 
instance.ArrangeHint(series, lineHintPrimitive, labelHintElement, radius, startAngle, endAngle, size, centerPoint, layoutedBounds)
protected virtual void ArrangeHint( 
   Series series,
   ChartPrimitive lineHintPrimitive,
   BaseTitleLabel labelHintElement,
   double radius,
   double startAngle,
   double endAngle,
   double size,
   Point centerPoint,
   Rect layoutedBounds
)

Parameters

series
The Series containing the hint label and line that will be arranged.
lineHintPrimitive
The line primitive that will be used for the arrangement.
labelHintElement
The label hint that will be used for the arrangement.
radius
The radius of the pie section, used to calculate the placement of the label and line primitives.
startAngle
The start angle of the pie section, used to calculate the placement of the label and line primitives.
endAngle
The end angle of the pie section, used to calculate the placement of the label and line primitives.
size
The smaller of layoutBounds.Width and layoutBound.Height, used to calculate the placement of the label and line primitives.
centerPoint
The center of layoutBounds.
layoutedBounds
The layout bounds without tick and title labels.
Remarks
The method uses various passed properties to calculate where the hint label and line should be positioned.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PieLayout Class
PieLayout Members