Aspose::Cells::Pivot::PivotField::GroupBy method
Contents
[
Hide
]PivotField::GroupBy(double, bool) method
Automatically group the field with internal.
void Aspose::Cells::Pivot::PivotField::GroupBy(double interval, bool newField)
Parameter | Type | Description |
---|---|---|
interval | double | The internal of group. Automatic value will be assigned if it’s zero, |
newField | bool | Indicates whether adding a new field to the pivottable. |
See Also
- Class Vector
- Class PivotField
- Namespace Aspose::Cells::Pivot
- Library Aspose.Cells for C++
PivotField::GroupBy(const Date&, const Date&, const Vector <PivotGroupByType>&, double, bool) method
Group the file by the date group types.
bool Aspose::Cells::Pivot::PivotField::GroupBy(const Date &start, const Date &end, const Vector<PivotGroupByType> &groups, double interval, bool firstAsNewField)
Parameter | Type | Description |
---|---|---|
start | const Date& | The start datetime |
end | const Date& | The end of datetime |
groups | const Vector <PivotGroupByType>& | Group types |
interval | double | The interval |
firstAsNewField | bool | Indicates whether adding a new field to the pivottable. Only for the first group item. |
ReturnValue
False means this field could not be grouped by date time.
See Also
- Class Vector
- Enum PivotGroupByType
- Class PivotField
- Namespace Aspose::Cells::Pivot
- Library Aspose.Cells for C++
PivotField::GroupBy(double, double, double, bool) method
Group the file by number.
bool Aspose::Cells::Pivot::PivotField::GroupBy(double start, double end, double interval, bool newField)
Parameter | Type | Description |
---|---|---|
start | double | The start value |
end | double | The end of value |
interval | double | The interval |
newField | bool | Indicates whether adding a new field to the pivottable |
ReturnValue
False means this field could not be grouped by date time.
See Also
- Class Vector
- Class PivotField
- Namespace Aspose::Cells::Pivot
- Library Aspose.Cells for C++
PivotField::GroupBy(const Vector <CustomPiovtFieldGroupItem>&, bool) method
Custom group the field.
bool Aspose::Cells::Pivot::PivotField::GroupBy(const Vector<CustomPiovtFieldGroupItem> &customGroupItems, bool newField)
Parameter | Type | Description |
---|---|---|
customGroupItems | const Vector <CustomPiovtFieldGroupItem>& | The custom group items. |
newField | bool | Indicates whether adding a new field to the pivottable |
ReturnValue
False means this field could not be grouped by date time.
See Also
- Class Vector
- Class CustomPiovtFieldGroupItem
- Class PivotField
- Namespace Aspose::Cells::Pivot
- Library Aspose.Cells for C++