Skip to content

@eightkk/vue-weave / core / ActualsTimelineBarOptions

Interface: ActualsTimelineBarOptions ​

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

Options of actualsTimelineBars.

Properties ​

barId? ​

optional barId?: (taskId, part) => string

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

The bar ID of one part of a task. Default: taskId + ':' + part.

Parameters ​

taskId ​

string

part ​

"actual" | "forecast"

Returns ​

string


baselineId? ​

optional baselineId?: string | false

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

The baseline set that carries the original plan on the first bar of each task. Default: timelineBaselineId, the unnamed baseline; any other ID adds a named entry to baselines. false adds none.


descriptions? ​

optional descriptions?: object

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

Bar descriptions of each part. Defaults "Recorded actual work" and "Remaining work forecast".

actual? ​

optional actual?: string

forecast? ​

optional forecast?: string


label? ​

optional label?: (taskId) => string

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

The bar label of a task; the part is appended, as in "Cut A · actual". Default: the task ID.

Parameters ​

taskId ​

string

Returns ​

string


partLabels? ​

optional partLabels?: object

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

Words appended to the label of each part. Defaults "actual" and "forecast".

actual? ​

optional actual?: string

forecast? ​

optional forecast?: string


rowId? ​

optional rowId?: (taskId) => string

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

The row of a task. Default: the task ID.

Parameters ​

taskId ​

string

Returns ​

string


tones? ​

optional tones?: object

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

Tones of each part. Defaults: teal for actual work and blue for the forecast.

actual? ​

optional actual?: ChartTone

forecast? ​

optional forecast?: ChartTone

Released under the MIT License.