Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

SetTotalAsSum: Difference between revisions

From Catglobe Wiki
Tungocman (talk | contribs)
Created page with "=== setTotalAsSum<br> ===    Please take a look at the examples to get understand about this function.<br> ==== syntax<br> ====    setTotalAsSum(enabled);<..."
 
Cg van (talk | contribs)
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=== setTotalAsSum<br> ===
{{HelpFiles}}


&nbsp;&nbsp; Please take a look at the examples to get understand about this function.<br>
===== setTotalAsSum  =====


==== syntax<br> ====
Returns the total percentage values (should be sum of pct values OR always is 100%), which can be shown for table diagrams. The values tells us percentage of answers were given to the question. This may be the same as the total percentage values, but given that the question type is MULTI, it may also be that it was more than this, since each respondent then can give more than one answer to one question.


&nbsp;&nbsp; setTotalAsSum(enabled);<br>
'''Syntax'''


==== Arguments<br> ====
setTotalAsSum(enabled);


&nbsp;&nbsp; enabled: Is a boolean expression (true / false). <br>
'''Arguments'''


==== Return type ====
enabled: Is a boolean expression (true / false).


&nbsp; empty
'''Return type'''


'''Examples'''
empty


&nbsp; <br>
'''Examples'''
 
{| width="300" cellspacing="1" cellpadding="1" border="1"
|-
| valign="middle" align="center" | '''Scripts'''
| valign="middle" align="center" | '''Results'''
|-
|
''setTotalAsSum(false);''
 
''setDirection(Diagram_DirectionType_Vertical); ''
 
''createCrossDiagram({"Q1"},{"Q11"});''
 
''setDirection(Diagram_DirectionType_Horizontal); ''
 
''createCrossDiagram({"Q1"},{"Q11"});''
 
| [[Image:SetTotalAsSum(false).jpg]]
|-
|
''setTotalAsSum(true);''
 
''setDirection(Diagram_DirectionType_Vertical); ''
 
''createCrossDiagram({"Q1"},{"Q11"});''
 
''setDirection(Diagram_DirectionType_Horizontal); ''
 
''createCrossDiagram({"Q1"},{"Q11"});''
 
| [[Image:SetTotalAsSum(true).jpg]]
|}
 
'''Availability'''
 
Version 5.8.1 __NOTOC__ <!-- imported from file: 8134.htm-->  
 
[[Category:TotalAsSum_functions]]

Latest revision as of 09:55, 27 December 2011


setTotalAsSum

Returns the total percentage values (should be sum of pct values OR always is 100%), which can be shown for table diagrams. The values tells us percentage of answers were given to the question. This may be the same as the total percentage values, but given that the question type is MULTI, it may also be that it was more than this, since each respondent then can give more than one answer to one question.

Syntax

setTotalAsSum(enabled);

Arguments

enabled: Is a boolean expression (true / false).

Return type

empty

Examples

Scripts Results

setTotalAsSum(false);

setDirection(Diagram_DirectionType_Vertical);

createCrossDiagram({"Q1"},{"Q11"});

setDirection(Diagram_DirectionType_Horizontal);

createCrossDiagram({"Q1"},{"Q11"});

setTotalAsSum(true);

setDirection(Diagram_DirectionType_Vertical);

createCrossDiagram({"Q1"},{"Q11"});

setDirection(Diagram_DirectionType_Horizontal);

createCrossDiagram({"Q1"},{"Q11"});

Availability

Version 5.8.1