Example #1
0
 /// <summary>
 /// Init PivotTable instance with own agreggation function.
 ///  See also: <seealso cref="AggregationFunction"/>
 /// </summary>
 /// <param name="af"></param>
 public PivotTable(AggregationFunction af)
 {
     dataSets = new AggregationSet();
     // set custom aggregation function if you dont need simple sum
     dataSets.Aggregator = af;
 }
Example #2
0
 public PivotTable()
 {
     dataSets = new AggregationSet();
     // by default will be summarized
     dataSets.Aggregator = AggregateFunction.Sum;
 }