RecordChartModel
RecordChartModel =
object
Defined in: packages/schema/src/model.ts:1074
Line graphs of numeric fields of the records of resource that point at the record through field, over their
timestamp at: the average or the maximum of each per minute over the last hour, per 5 minutes over the last day
and per hour over the last week, read through the aggregate API with the caller’s access. A bucket without a sample
is a gap. See Charts of related records.
Properties
Section titled “Properties”at:
string
Defined in: packages/schema/src/model.ts:1084
The filterable timestamp field of resource the records are placed by.
field:
string
Defined in: packages/schema/src/model.ts:1082
The filterable relation on resource that holds this record’s key.
optionalhelp?:string
Defined in: packages/schema/src/model.ts:1090
A line under the title.
kind:
"chart"
Defined in: packages/schema/src/model.ts:1076
A chart of related records.
range?
Section titled “range?”
optionalrange?:RecordChartRange
Defined in: packages/schema/src/model.ts:1088
The range it opens on; 1h when omitted.
resource
Section titled “resource”resource:
string
Defined in: packages/schema/src/model.ts:1080
The resource whose records it charts.
series
Section titled “series”series:
string[]
Defined in: packages/schema/src/model.ts:1086
The numeric fields of resource it draws, one line each.
title:
string
Defined in: packages/schema/src/model.ts:1078
The section’s title.
optionalwhen?:ShowWhen
Defined in: packages/schema/src/model.ts:1092
Whether it shows on the form, the read view or both.