日本語
@eightkk/vue-weave / core / TimelineSvgOptions
Interface: TimelineSvgOptions<R, B>
Defined in: src/core/exportSvg.ts:425
R and B type the rows and bars that columns, rowLabel and barLabel receive.
Extends
Type Parameters
R
R extends TimelineRow = TimelineRow
B
B extends TimelineBar = TimelineBar
Properties
background?
optionalbackground?:boolean
Defined in: src/core/svgExportShared.ts:96
Paint an opaque background. Default true.
Inherited from
barLabel?
optionalbarLabel?: (bar) =>string
Defined in: src/core/exportSvg.ts:510
Bar label text. Defaults to bar.label.
Parameters
bar
B
Returns
string
baselineIds?
optionalbaselineIds?: readonlystring[]
Defined in: src/core/exportSvg.ts:471
Baseline sets to draw, in slot order, as GanttChart baselineIds: at most timelineBaselineLimit unique IDs, with timelineBaselineId for TimelineBar.baseline. Default: the first three of timelineBaselineIds(bars).
baselineLabel?
optionalbaselineLabel?: (id) =>string
Defined in: src/core/exportSvg.ts:473
Label of a baseline set in titles. Default "Baseline" for timelineBaselineId and the set ID otherwise.
Parameters
id
string
Returns
string
collapsedIds?
optionalcollapsedIds?:Iterable<string,any,any>
Defined in: src/core/exportSvg.ts:427
Collapsed parent rows; their descendants and the descendants' bars are omitted.
columns?
optionalcolumns?: readonlyTimelineColumn<R>[]
Defined in: src/core/exportSvg.ts:439
Extra columns after the row heading column.
constraintLabels?
optionalconstraintLabels?:Partial<Record<keyofTimelineConstraints,string>>
Defined in: src/core/exportSvg.ts:506
Text of each constraint kind in the titles of constraint markers. Defaults "Start no earlier than", "Start no later than", "Finish no earlier than", "Finish no later than" and "Must start on".
constraintViolatedLabel?
optionalconstraintViolatedLabel?:string
Defined in: src/core/exportSvg.ts:508
Added to the title of a violated constraint marker. Default "violated".
dependencyStyle?
optionaldependencyStyle?:DependencyPathStyle
Defined in: src/core/exportSvg.ts:488
Shape of the dependency connectors, as GanttChart dependencyStyle. Default orthogonal.
direction?
optionaldirection?:"ltr"|"rtl"
Defined in: src/core/svgExportShared.ts:100
Text direction of labels. For timelines, rtl also mirrors the time axis and places row headings on the right.
Inherited from
fontFamily?
optionalfontFamily?:string
Defined in: src/core/svgExportShared.ts:92
CSS font-family list written on the root element.
Inherited from
formatLag?
optionalformatLag?: (lag) =>string
Defined in: src/core/exportSvg.ts:466
Text of the label drawn on a dependency with a non-zero lag. Default formatDependencyLag (signed hours of milliseconds).
Parameters
lag
number
Returns
string
formatTime?
optionalformatTime?: (time) =>string
Defined in: src/core/exportSvg.ts:464
Tick and tooltip labels. Default UTC HH:mm.
Parameters
time
number
Returns
string
formatVariance?
optionalformatVariance?: (delta) =>string
Defined in: src/core/exportSvg.ts:475
Text of a baseline variance in titles. Default formatDependencyLag (signed hours of milliseconds).
Parameters
delta
number
Returns
string
headerBands?
optionalheaderBands?: readonly (readonlyTimelineBand[])[]
Defined in: src/core/exportSvg.ts:448
highlightedBarIds?
optionalhighlightedBarIds?:Iterable<string,any,any>
Defined in: src/core/exportSvg.ts:493
Bars drawn with the highlight outline and the vw-is-highlighted class, as GanttChart highlightedBarIds. The outline uses the dependencyHighlight theme colour.
highlightedDependencyIds?
optionalhighlightedDependencyIds?:Iterable<string,any,any>
Defined in: src/core/exportSvg.ts:486
idPrefix?
optionalidPrefix?:string
Defined in: src/core/svgExportShared.ts:98
Prefix for the IDs of markers and clip paths, so several exports can be inlined in one page. Default vw-export.
Inherited from
labelWidth?
optionallabelWidth?:number
Defined in: src/core/exportSvg.ts:437
Width of the row heading column in pixels. Default 154.
laneCount?
optionallaneCount?:number
Defined in: src/core/exportSvg.ts:435
Default 1.
loadRowHeight?
optionalloadRowHeight?:number
Defined in: src/core/exportSvg.ts:485
Default 44. At least 16.
loadRows?
optionalloadRows?: readonlyTimelineLoadRow[]
Defined in: src/core/exportSvg.ts:482
loadSegments?
optionalloadSegments?: readonlyTimelineLoadSegment[]
Defined in: src/core/exportSvg.ts:483
markerRanges?
optionalmarkerRanges?: readonlyTimelineMarkerRange[]
Defined in: src/core/exportSvg.ts:454
Highlighted half-open ranges, as GanttChart markerRanges: a band across the body (or across rowIds only) with its label at the bottom of the header, drawn with its tone or the range theme colours at 70% opacity.
markers?
optionalmarkers?: readonlyTimelineMarker[]
Defined in: src/core/exportSvg.ts:449
nonWorkingPeriods?
optionalnonWorkingPeriods?: readonlyTimeRange[]
Defined in: src/core/exportSvg.ts:495
Half-open intervals shaded as non-working time behind the grid, over the task and load rows. May overlap.
now?
optionalnow?:number
Defined in: src/core/exportSvg.ts:456
Time of a "now" line.
nowLabel?
optionalnowLabel?:string
Defined in: src/core/exportSvg.ts:481
Label of the now line. Default "Now".
rowHeading?
optionalrowHeading?:string
Defined in: src/core/exportSvg.ts:479
Heading of the row column. Default "Rows".
rowHeight?
optionalrowHeight?:number
Defined in: src/core/exportSvg.ts:433
Default 66. At least 8 + laneCount × 14.
rowLabel?
optionalrowLabel?: (row) =>string
Defined in: src/core/exportSvg.ts:512
Row heading text. Defaults to row.label.
Parameters
row
R
Returns
string
rowRange?
optionalrowRange?:object
Defined in: src/core/exportSvg.ts:431
Export only displayed rows start (inclusive) to end (exclusive), counted after collapsing.
end
end:
number
start
start:
number
showProgressLine?
optionalshowProgressLine?:boolean
Defined in: src/core/exportSvg.ts:501
With statusDate, draw a progress line that kinks to the progress point of each bar that is behind or ahead.
showSummaries?
optionalshowSummaries?:boolean
Defined in: src/core/exportSvg.ts:441
Draw rollup bars on parent rows without bars of their own.
statusDate?
optionalstatusDate?:number
Defined in: src/core/exportSvg.ts:497
Time of a status-date line.
statusDateLabel?
optionalstatusDateLabel?:string
Defined in: src/core/exportSvg.ts:499
Label of the status-date line. Default "Status date".
summaryDependencies?
optionalsummaryDependencies?:boolean
Defined in: src/core/exportSvg.ts:447
As GanttChart summaryDependencies: a dependency end may name a summary row instead of a bar. Such an end joins the start or finish edge of the row's rollup bar, so it is drawn only with showSummaries and when the row has a rollup (descendant bars and no bar of its own); otherwise the dependency is left out. Default false.
theme?
optionaltheme?:SvgExportThemeInput
Defined in: src/core/svgExportShared.ts:90
Colours; omitted values use defaultSvgExportTheme. Each is a CSS colour value (hex, a colour name or keyword, or one of the colour functions such as rgb(), color-mix() or var()); anything else throws a RangeError.
Inherited from
tickAnchor?
optionaltickAnchor?:number
Defined in: src/core/exportSvg.ts:462
Tick alignment. Defaults to the start of the scale.
tickStep?
optionaltickStep?:number
Defined in: src/core/exportSvg.ts:458
Tick interval. Defaults to the first of tickSteps that is at least 76 px wide.
tickSteps?
optionaltickSteps?: readonlynumber[]
Defined in: src/core/exportSvg.ts:460
Candidate tick intervals. Default 30 minutes to 24 hours in milliseconds.
timeRange?
optionaltimeRange?:TimeRange
Defined in: src/core/exportSvg.ts:429
Export only this time window. Defaults to the whole scale, from toTime(0) to toTime(width).
title?
optionaltitle?:string
Defined in: src/core/svgExportShared.ts:94
Document title, written as <title> and the accessible name.
Inherited from
varianceLabels?
optionalvarianceLabels?:object
Defined in: src/core/exportSvg.ts:477
Words before the start, finish and duration variances in titles. Defaults "start", "finish" and "duration".
duration?
optionalduration?:string
finish?
optionalfinish?:string
start?
optionalstart?:string