GroupChartModel
GroupChartModel =
object
Defined in: packages/schema/src/model.ts:877
A chart of records per value of a field above a list, following its filters (.chart(...) with groupBy).
Properties
Section titled “Properties”average?
Section titled “average?”
optionalaverage?:string
Defined in: packages/schema/src/model.ts:885
A numeric field each group averages, instead of counting its records.
groupBy
Section titled “groupBy”groupBy:
string
Defined in: packages/schema/src/model.ts:879
The field whose values make the groups, such as a status or a relation; not a date.
limit:
number
Defined in: packages/schema/src/model.ts:887
How many values it shows, the largest.
optionalsum?:string
Defined in: packages/schema/src/model.ts:883
A numeric field each group adds up, instead of counting its records.
type:
"bar"|"donut"
Defined in: packages/schema/src/model.ts:881
Bars, the largest first, or a donut.