PivotField.GroupBy

GroupBy(double, bool)

Automatically group the field with internal

public void GroupBy(double interval, bool newField)
ParameterTypeDescription
intervalDoubleThe internal of group. Automatic value will be assigned if it’s zero,
newFieldBooleanIndicates whether adding a new field to the pivottable.

See Also


GroupBy(DateTime, DateTime, PivotGroupByType[], double, bool)

Group the file by the date group types.

public bool GroupBy(DateTime start, DateTime end, PivotGroupByType[] groups, double interval, 
    bool firstAsNewField)
ParameterTypeDescription
startDateTimeThe start datetime
endDateTimeThe end of datetime
groupsPivotGroupByType[]Group types
intervalDoubleThe interval
firstAsNewFieldBooleanIndicates whether adding a new field to the pivottable. Only for the first group item.

Return Value

False means this field could not be grouped by date time.

See Also


GroupBy(double, double, double, bool)

Group the file by number.

public bool GroupBy(double start, double end, double interval, bool newField)
ParameterTypeDescription
startDoubleThe start value
endDoubleThe end of value
intervalDoubleThe interval
newFieldBooleanIndicates whether adding a new field to the pivottable

Return Value

False means this field could not be grouped by date time.

See Also


GroupBy(CustomPiovtFieldGroupItem[], bool)

Custom group the field.

public bool GroupBy(CustomPiovtFieldGroupItem[] customGroupItems, bool newField)
ParameterTypeDescription
customGroupItemsCustomPiovtFieldGroupItem[]The custom group items.
newFieldBooleanIndicates whether adding a new field to the pivottable

Return Value

False means this field could not be grouped by date time.

See Also