Aggregate

stat.setData(this.testData)
    .pipe('group', 'city')
    .pipe('aggregate', {
         field: 'dist1',
         label: null, // can be omitted
         action: 'sum',
         type: 'single', // no explosion
         filters: [{
            field: 'year',
            min: 2010,
            max: 2014
         }, {
            field: 'status',
            include: ['A', 'C', 'Y']
         }]
    });
Last update: January 18th at 11:09am