Class AdditionalTotalFunctions
Helper class to access and change array of additional totals
Inheritance
System.Object
AdditionalTotalFunctions
Namespace: FastReport.Olap.Slice
Assembly: FastReport.Olap.dll
Syntax
public class AdditionalTotalFunctions
Constructors
AdditionalTotalFunctions(AxisContainer)
Declaration
public AdditionalTotalFunctions(AxisContainer axisContainer)
Parameters
Type | Name | Description |
---|---|---|
AxisContainer | axisContainer |
AdditionalTotalFunctions(AxisField)
Declaration
public AdditionalTotalFunctions(AxisField axisField)
Parameters
Type | Name | Description |
---|---|---|
AxisField | axisField |
Properties
Count
Number of additional totals in array
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Item[Int32]
Get aggregate function at index
Declaration
public AggregateFunction this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Index in array |
Property Value
Type | Description |
---|---|
AggregateFunction | Aggregate function |
Methods
Add(AggregateFunction)
Adds additional aggregate function to array if it does not present there
Declaration
public int Add(AggregateFunction aggregateFunction)
Parameters
Type | Name | Description |
---|---|---|
AggregateFunction | aggregateFunction | aggregate function to add |
Returns
Type | Description |
---|---|
System.Int32 | Index of added / found aggregate function |
Clear()
Removes all aggregate functions from array
Declaration
public void Clear()
IndexOf(AggregateFunction)
Search for additional total with the specified aggregate function
Declaration
public int IndexOf(AggregateFunction aggregateFunction)
Parameters
Type | Name | Description |
---|---|---|
AggregateFunction | aggregateFunction | aggregate function to search for |
Returns
Type | Description |
---|---|
System.Int32 | Index in array or -1 if not found |
Remove(AggregateFunction)
Removes aggregate function from array
Declaration
public void Remove(AggregateFunction aggregateFunction)
Parameters
Type | Name | Description |
---|---|---|
AggregateFunction | aggregateFunction |