Learn R Programming

eulerr (version 8.3.0)

setup_tag: Setup grobs for one tag (label + quantity + annotation + leader).

Description

Builds the gList via build_tag_grobs() and stashes the text / gpar bundle on the resulting EulerTag gTree so makeContent.EulerTags() can rebuild it at draw time with fresh measurements.

Usage

setup_tag(data, labels, quantities, annotations, number)

Arguments

data

one row of the placed centers data frame

labels, quantities, annotations

the three tag component parameter lists, each with a $gp

number

the diagram's region index, used to name the grobs