Constructors
Section titled "Constructors"IgrNumberSummaryOperand
new IgrNumberSummaryOperand(): IgrNumberSummaryOperand Returns IgrNumberSummaryOperand
Methods
Section titled "Methods"operate
Section titled "operate"Executes the static methods and returns summary result[]`.
operate(data: any[], allData: any[], fieldName: string, groupRecord: IgrGroupByRecord): IgrSummaryResult[] Parameters
- data:
any[] - allData:
any[] - fieldName:
string - groupRecord:
IgrGroupByRecord
Returns IgrSummaryResult[]
average
Section titled "average"Returns the average numeric value in the data provided data records. If filtering is applied, returns the average numeric value in the filtered data records.
average(data: any[]): number Parameters
- data:
any[]
Returns number
count
Section titled "count"Inherited from: IgcSummaryOperand
Counts all the records in the data source. If filtering is applied, counts only the filtered records.
count(data: any[]): number Parameters
- data:
any[]
Returns number
Returns the maximum numeric value in the provided data records. If filtering is applied, returns the maximum value in the filtered data records.
max(data: any[]): number Parameters
- data:
any[]
Returns number
Returns the minimum numeric value in the provided data records. If filtering is applied, returns the minimum value in the filtered data records.
min(data: any[]): number Parameters
- data:
any[]
Returns number
Returns the sum of the numeric values in the provided data records. If filtering is applied, returns the sum of the numeric values in the data records.
sum(data: any[]): number Parameters
- data:
any[]