Pivot table wrapper that calculates percentage values (by grand total, row or column totals).
Inheritance Hierarchy
NReco.PivotData.PercentagePivotTable
Namespace: NReco.PivotData
Assembly: NReco.PivotData.Extensions (in NReco.PivotData.Extensions.dll) Version: 1.6.1
Syntax
The PercentagePivotTable type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | PercentagePivotTable(IPivotTable, PercentagePivotTable.PercentageMode) |
Initializes a new instance of PercentagePivotTable instance by specified IPivotTable and percentage mode.
|
![]() | PercentagePivotTable(IPivotTable, PercentagePivotTable.PercentageMode, Int32) |
Initializes a new instance of PercentagePivotTable instance by specified IPivotTable, percentage mode and measure index.
|
![]() | PercentagePivotTable(IPivotTable, PercentagePivotTable.PercentageMode,Int32[]) |
Initializes a new instance of PercentagePivotTable instance by specified IPivotTable, percentage mode and measure indexes.
|
![]() | PercentagePivotTable(IPivotTable, Func<PivotTableValueContext, IAggregator>, Int32) | Initializes a new instance of the PercentagePivotTable class |
Properties
Name | Description | |
---|---|---|
![]() | ColumnKeys | |
![]() | Columns | |
![]() | PivotData | |
![]() | RoundDigits |
Number of fractional digits in the percentage values.
|
![]() | RowKeys | |
![]() | 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 percentPvtTbl = new PercentagePivotTable(originalPvtTbl, PercentagePivotTable.PercentageMode.ColumnTotal);
See Also