GroupChartInput
GroupChartInput =
object
Defined in: packages/schema/src/view-chart.ts:17
Records per value of groupBy, counted, or with sum or average that of a numeric field.
Properties
Section titled “Properties”average?
Section titled “average?”
optionalaverage?:Ref
Defined in: packages/schema/src/view-chart.ts:27
A numeric field each group averages, instead of counting its records.
groupBy
Section titled “groupBy”groupBy:
Ref
Defined in: packages/schema/src/view-chart.ts:19
The field whose values make the groups, such as a status or a relation; not a date.
limit?
Section titled “limit?”
optionallimit?:number
Defined in: packages/schema/src/view-chart.ts:23
How many values it shows, the largest; default 10.
optionalsum?:Ref
Defined in: packages/schema/src/view-chart.ts:25
A numeric field each group adds up, instead of counting its records.
optionaltype?:GroupChartModel["type"]
Defined in: packages/schema/src/view-chart.ts:21
Bars, the default, or a donut.