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