Skip to content

@eightkk/vue-weave / core / timelineBaseline

Function: timelineBaseline() ​

timelineBaseline(bar, id): TimeRange | undefined

Defined in: src/core/timeline.ts:103

A bar's interval in baseline set id: bar.baseline for timelineBaselineId, otherwise the matching bar.baselines entry.

Parameters ​

bar ​

Pick<TimelineBar, "baseline" | "baselines">

id ​

string

Returns ​

TimeRange | undefined

Released under the MIT License.