var instance = new GC.Spread.Slicers.GeneralSlicerData(data, columnNames); var value; // Type: number value = instance.aggregateData(columnName, aggregateType, range);
function aggregateData( columnName : string, aggregateType : SlicerAggregateType, range : object ) : number;
Parameters
- columnName
- The column name.
- aggregateType
- The aggregate type.
- range
- The specific range. range.min: number type, the minimum value. range.max: number type, the maximum value.
Return Value
The aggregated data.