PieLabelPlacement

sealed interface PieLabelPlacement

Specifies the strategy for placing Pie chart labels.

Inheritors

Types

Link copied to clipboard

Specify that all pie chart labels should be placed around the outside of the pie (i.e., not within the individual slices).

Link copied to clipboard
data class Internal(val radius: Float = 0.7f) : PieLabelPlacement

Specify that all pie chart labels should be placed within the individual pie slices. If the label does not fit, it will not be shown.

Link copied to clipboard
data class InternalOrExternal(val radius: Float = 0.7f) : PieLabelPlacement

Specify that pie chart labels should be placed within the individual pie slices if they fit, and if not, then placed externally to the pie.