Pivot table wrapper that limits table by top N rows or columns.
Inheritance Hierarchy
NReco.PivotData.TopPivotTable
Namespace: NReco.PivotData
Assembly: NReco.PivotData.Extensions (in NReco.PivotData.Extensions.dll) Version: 1.6.1
Syntax
The TopPivotTable type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | TopPivotTable |
Initializes a new instance of TopPivotTable instance.
|
Properties
Name | Description | |
---|---|---|
![]() | ColumnKeys | |
![]() | ColumnOtherKey |
Special 'other' key used for column dimensions.
|
![]() | Columns | |
![]() | ColumnTopMode |
Determines top-N calculation mode: first N columns (default) or last N columns.
|
![]() | IncludeOtherGroups |
Gets or sets flag that determines whether to include into pivot table rows/columns that exceed limits as 'other' groups (true by default).
|
![]() | PivotData | |
![]() | RowKeys | |
![]() | RowOtherKey |
Special 'other' key used for row dimensions.
|
![]() | Rows | |
![]() | RowTopMode |
Determines top-N calculation mode: first N rows (default) or last N rows.
|
Methods
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | GetValue | |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
Remarks
Examples
PivotTable originalPvtTbl; var topPvtTbl = new TopPivotTable(originalPvtTbl, 10 /* top 10 rows */, Int32.MaxValue /* no limit for columns */ );
See Also