Skip to main content

Module timeline

Module timeline 

Source
Expand description

Timeline: geom_timeline. Events along an x (usually date) axis on a central baseline; each is a dot with a stem to a boxed label. Labels are stacked on alternating levels above and below the line so they never overlap (greedy, at draw time in pixels); a span-end column turns an event into a span drawn as a band on the baseline.

Structs§

GeomTimeline
Timeline. Map x (event time), label and optionally color; name a span-end column in end (rows where it is missing are point events — unlike a mapped xend, a missing end doesn’t drop the row).