RadialLabelPositioner.Config
public struct RadialLabelPositioner.ConfigConfiguration for radial label positioning.
Fields
Section titled “Fields”
Center
Section titled “Center”public Vector2 CenterCenter of the pie/donut chart.
Returns
UnityEngine.Vector2
OuterRadius
Section titled “OuterRadius”public float OuterRadiusOuter radius of the pie/donut.
Returns
System.Single
InnerRadius
Section titled “InnerRadius”public float InnerRadiusInner radius (0 for pie, > 0 for donut).
Returns
System.Single
LabelOffset
Section titled “LabelOffset”public float LabelOffsetDistance from outer radius to label anchor point.
Returns
System.Single
HorizontalMargin
Section titled “HorizontalMargin”public float HorizontalMarginAdditional horizontal offset for labels on sides.
Returns
System.Single
MinVerticalSpacing
Section titled “MinVerticalSpacing”public float MinVerticalSpacingMinimum vertical spacing between labels.
Returns
System.Single
FontSize
Section titled “FontSize”public float FontSizeFont size for calculating label heights.
Returns
System.Single
MaxInlineWidth
Section titled “MaxInlineWidth”public float MaxInlineWidthMaximum width for labels before they need leader lines.
Returns
System.Single
UseLeaderLines
Section titled “UseLeaderLines”public bool UseLeaderLinesWhether to use leader lines for all external labels.
Returns
System.Boolean
Bounds
Section titled “Bounds”public Rect BoundsOptional bounds to clamp labels within. If default (zero), no clamping is applied.
Returns
UnityEngine.Rect
Properties
Section titled “Properties”
Default
Section titled “Default”public static RadialLabelPositioner.Config Default { get; }Returns
ChartGuru.RadialLabelPositioner.Config