本文へ移動

@eightkk/vue-weave / core / actualsTimelineBars

Function: actualsTimelineBars() ​

actualsTimelineBars(result, options?): TimelineBar<unknown>[]

Defined in: src/core/actuals.ts:386

Project a rescheduleFromActuals result into GanttChart bars, so that one row shows the original plan, the recorded actuals and the remaining forecast. Each task with actuals gets a solid "actual" bar spanning them, with their merged intervals as segments when there are several; each task with work still to do, and each unstarted or manual task, gets an outline "forecast" bar with its remaining work segments. Solid and outline differ without colour, also in forced colours. The plan dates become a baseline of the first bar of the task. Summary tasks get no bar: show their rows with GanttChart showSummaries, which rolls up the bars of their subtasks. Without a successful schedule, only actual bars are returned. The result is not modified.

Parameters ​

result ​

RescheduleFromActualsResult

options? ​

ActualsTimelineBarOptions = {}

Returns ​

TimelineBar<unknown>[]

MIT ライセンスで公開しています。