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

View source: R/tag-grobs.R

setup_tagR Documentation

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)

eulerr documentation built on May 30, 2026, 1:07 a.m.