Skip to contents

Connecting line between a label and its chart element (e.g. pie label lines).

Usage

LabelLine(
  show = NULL,
  show_above = NULL,
  length = NULL,
  length2 = NULL,
  smooth = NULL,
  min_turn_angle = NULL,
  line_style = NULL
)

Arguments

show

Optional Logical: Whether to show the label line.

show_above

Optional Logical: Whether the line renders above other elements.

length

Optional Numeric [0, Inf): Length of the first segment.

length2

Optional Numeric [0, Inf): Length of the second segment.

smooth

Optional Numeric [0, 1] or Logical: Line smoothness.

min_turn_angle

Optional Numeric: Minimum angle for turning the line.

line_style

Optional LineStyle: Line styling.

Value

LabelLine object.

Details

Corresponds to LabelLineOption in src/util/types.ts (line 1379). ECharts docs: https://echarts.apache.org/en/option.html#series-pie.labelLine

Examples

LabelLine(show = TRUE, length = 10, length2 = 15)
#> <rtemis.draw::LabelLine>
#>  @ show          : logi TRUE
#>  @ show_above    : NULL
#>  @ length        : num 10
#>  @ length2       : num 15
#>  @ smooth        : NULL
#>  @ min_turn_angle: NULL
#>  @ line_style    : NULL