Class actuate.xtabanalyzer.GrandTotal
Description
The GrandTotal class specifies a cross tab GrandTotal object.
Constructor
Syntax
Constructs a new GrandTotal object.
Function summary
Table 5-10 lists actuate.xtabanalyzer.GrandTotal functions.
Table 5-10 actuate.xtabanalyzer.GrandTotal functionsactuate.xtabanalyzer.GrandTotal.addTotal
Syntax
Adds a total to the cross tab.
Parameters
actuate.xtabanalyzer.total. The total object to add to the cross tab.
Example
This example adds totals to a GrandTotal.
actuate.xtabanalyzer.GrandTotal.getAxisType
Syntax
Returns the axis type for the total.
Returns
Integer. The following values are legal axis types:
n actuate.xtabanalyzer.Dimension.COLUMN_AXIS_TYPE
n actuate.xtabanalyzer.Dimension.ROW_AXIS_TYPEExample
This example retrieves and sets the axis type.
actuate.xtabanalyzer.GrandTotal.getTotals
Syntax
Returns an array containing the totals.
Returns
Example
This example retrieves totals from a GrandTotal object.
actuate.xtabanalyzer.GrandTotal.setAxisType
Syntax
Sets the axis type for the total.
Parameters
Example
This example retrieves and sets the axis type.
actuate.xtabanalyzer.GrandTotal.setTotals
Syntax
Parameters
Array of actuate.xtabanalyzer.Total objects to add to the grand total.
Example
This example copies the totals from grandtotal1 into grandtotal2
(c) Copyright Actuate Corporation 2011 |
![]() |