ExternalLabelPosition

data class ExternalLabelPosition(val position: Offset, val anchorPoint: Offset, val anchorAngle: AngularValue) : LabelPosition

Specifies positioning values for a Pie Chart slice's external label (the label that is outside the perimeter of the pie).

position specifies the offset of the label's top-left corner relative to the center of the Pie Chart, which is at the coordinate (0, 0), with positive values down and to the right.

anchorPoint specifies the point on the label to which a connector line should be drawn, in the same coordinate system as position.

anchorAngle specifies the angle at which the connector line should attach to the label at anchorPoint, where 0 degrees is to the right and angles increase in the clockwise direction.

Constructors

Link copied to clipboard
constructor(position: Offset, anchorPoint: Offset, anchorAngle: AngularValue)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard