本文へ移動

@eightkk/vue-weave / core / timelineCsvTable

Function: timelineCsvTable() ​

timelineCsvTable(rows, bars, options?): CsvCell[][]

Defined in: src/core/interchangeCsv.ts:75

A table for toCsv: a header record and one record per bar, ordered by row in tree preorder and then by bar input order. Cells are the row label, the row's WBS code (timelineWbsCodes), the bar label, the formatted start and end and the progress from 0 to 1 (empty without progress). Throws an Error for invalid rows, a bar of an unknown row and an unknown column.

Parameters ​

rows ​

readonly TimelineRow<unknown>[]

bars ​

readonly TimelineBar<unknown>[]

options? ​

TimelineCsvOptions = {}

Returns ​

CsvCell[][]

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