CircularLabelPositionProvider

constructor(labelSpacing: Float, labelPlacement: PieLabelPlacement = PieLabelPlacement.External)

Parameters

labelSpacing

A value greater than 1 specifying the distance from the center of the pie at which to place external labels relative to the overall diameter of the pie, where a value of 1 is at the outer edge of the pie. Values between 1.05 and 1.4 tend to work well depending on the size of the labels and overall pie diameter.

labelPlacement

Specifies the locations the labels may be placed, including within the slice or externally. @see PieLabelPlacement.