Outside
class Outside(val textComponent: TextComponent = TextComponent(), val lineColor: Color = Color.Black, val lineWidth: Dp = Defaults.PIE_OUTSIDE_LABEL_LINE_WIDTH.dp, val angledSegmentLength: Dp = Defaults.PIE_OUTSIDE_LABEL_ANGLED_SEGMENT_LENGTH.dp, val horizontalSegmentLength: Dp = Defaults.PIE_OUTSIDE_LABEL_HORIZONTAL_SEGMENT_LENGTH.dp, val maxWidthToBoundsRatio: Float = Defaults.PIE_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: Color = Color.Black, lineWidth: Dp = Defaults.PIE_OUTSIDE_LABEL_LINE_WIDTH.dp, angledSegmentLength: Dp = Defaults.PIE_OUTSIDE_LABEL_ANGLED_SEGMENT_LENGTH.dp, horizontalSegmentLength: Dp = Defaults.PIE_OUTSIDE_LABEL_HORIZONTAL_SEGMENT_LENGTH.dp, maxWidthToBoundsRatio: Float = Defaults.PIE_OUTSIDE_LABEL_MAX_WIDTH_TO_BOUNDS_RATIO)