Skip to main content

Type Alias: BarLabels

BarLabels = BarLabelPolicy | BarLabelSpec

Defined in: layout/renderer.ts:119

What gantt.barLabels and EntryVariant.barLabels both take. The short form ('fitBar' etc.) is the common case: policy only, name printed. { field, policy } is the expert form, for a bar that prints a different Field, or a variant that overrides only one of the two (#421 C5).