Outside
class Outside(var textComponent: TextComponent = TextComponent(), lineColor: Int = Color.BLACK, initialLineWidthDp: Float = 1.0f, var angledSegmentLengthDp: Float = Defaults.SLICE_ANGLED_SEGMENT_LENGTH, var horizontalSegmentLengthDp: Float = Defaults.SLICE_HORIZONTAL_SEGMENT_LENGTH, var maxWidthToBoundsRatio: Float = Defaults.SLICE_OUTSIDE_LABEL_MAX_WIDTH_TO_BOUNDS_RATIO) : PieChart.SliceLabel
Draws the label outside the slice and connects it with a line.
Constructors
Link copied to clipboard
constructor(textComponent: TextComponent = TextComponent(), lineColor: Int = Color.BLACK, initialLineWidthDp: Float = 1.0f, angledSegmentLengthDp: Float = Defaults.SLICE_ANGLED_SEGMENT_LENGTH, horizontalSegmentLengthDp: Float = Defaults.SLICE_HORIZONTAL_SEGMENT_LENGTH, maxWidthToBoundsRatio: Float = Defaults.SLICE_OUTSIDE_LABEL_MAX_WIDTH_TO_BOUNDS_RATIO)