Skip to content

RecordTrendModel

RecordTrendModel = object

Defined in: packages/schema/src/model.ts:1101

Bars of how many records of resource point at the record through field, per granularity of their date or timestamp at over range, as a list’s chart counts them: such as an objective’s shipped tasks per week over 90 days. Read through the aggregate API with the caller’s access. See Trends of related records.

at: string

Defined in: packages/schema/src/model.ts:1111

The filterable date or timestamp field of resource the records are counted by.


field: string

Defined in: packages/schema/src/model.ts:1109

The filterable relation on resource that holds this record’s key.


granularity: ChartGranularity

Defined in: packages/schema/src/model.ts:1115

How long each bar is.


optional help?: string

Defined in: packages/schema/src/model.ts:1117

A line under the title.


kind: "trend"

Defined in: packages/schema/src/model.ts:1103

A trend of related records.


range: ChartRange

Defined in: packages/schema/src/model.ts:1113

How far back it reaches.


resource: string

Defined in: packages/schema/src/model.ts:1107

The resource whose records it counts.


title: string

Defined in: packages/schema/src/model.ts:1105

The section’s title.


optional when?: ShowWhen

Defined in: packages/schema/src/model.ts:1119

Whether it shows on the form, the read view or both.