IgrNumberSummaryOperand

new IgrNumberSummaryOperand(): IgrNumberSummaryOperand

Returns IgrNumberSummaryOperand

Executes the static methods and returns SummaryResult[]. Can be overridden in the inherited classes to provide customization for the `summary`.

operate(data: any[], allData: any[], fieldName: string, groupRecord: IgrGroupByRecord): IgrSummaryResult[]

Parameters

Returns IgrSummaryResult[]

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

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[]

Returns number