Difference between revisions of "SetGrandTotal"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "Category:Diagram_configuring_CGScript_functions = setGrandTotal = == Syntax == setGrandTotal( bool enable); == Arguments == bool ''enable'' == Return type == Empty...")
 
Line 3: Line 3:
 
= setGrandTotal =
 
= setGrandTotal =
  
 +
Add one more Total row as total of alls SubTotal row
 +
 +
Default is not set
  
 
== Syntax ==
 
== Syntax ==
Line 18: Line 21:
  
 
<source lang="javascript">
 
<source lang="javascript">
 
+
DCS_use(15639420);
 +
setGrandTotal(true) ;
 +
createCrossDiagram({"VUpper","VLower"},{"HUpper","HLower"});
 
</source>
 
</source>
 +
[[File:2018-11-16_10-33-01.png]]

Revision as of 05:00, 16 November 2018


setGrandTotal

Add one more Total row as total of alls SubTotal row

Default is not set

Syntax

setGrandTotal( bool enable);

Arguments

bool enable

Return type

Empty

Example

DCS_use(15639420);
setGrandTotal(true) ;
createCrossDiagram({"VUpper","VLower"},{"HUpper","HLower"});

2018-11-16 10-33-01.png