ag-charts-community
Version:
Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue
11 lines (10 loc) • 1.1 kB
TypeScript
import type { AggregatePropertyDefinition, DatumPropertyDefinition } from './dataModel';
export declare function sumValues(values: any[], accumulator?: [number, number]): [number, number];
export declare function sum(id: string, matchGroupId: string): AggregatePropertyDefinition<any, any>;
export declare function groupSum(id: string, matchGroupId?: string): AggregatePropertyDefinition<any, any>;
export declare function range(id: string, matchGroupId: string): AggregatePropertyDefinition<any, any>;
export declare function groupCount(id: string): AggregatePropertyDefinition<any, any>;
export declare function groupAverage(id: string, matchGroupId?: string): AggregatePropertyDefinition<any, any, [number, number], [number, number, number]>;
export declare function area(id: string, aggFn: AggregatePropertyDefinition<any, any>, matchGroupId?: string): AggregatePropertyDefinition<any, any>;
export declare function accumulatedValue(onlyPositive?: boolean): DatumPropertyDefinition<any>['processor'];
export declare function trailingAccumulatedValue(): DatumPropertyDefinition<any>['processor'];