Difference between revisions of "CreateFrequenceDiagram"

From Catglobe Wiki
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{HelpFiles}}
+
{{HelpFiles}}  
[[Category:Diagram/report generating CGScript functions]]
 
__NOTOC__
 
=createFrequenceDiagram=
 
  
Creates a frequency diagram from the axis name specified. A unique id is returned when a diagram is added.
+
= createFrequenceDiagram  =
  
===Syntax===
+
__NOTOC__
  
createFrequenceDiagram(''axisName'')
+
Creates a frequency diagram from the axis name specified. A unique id is returned when a diagram is added.
  
===Arguments===
+
=== Syntax  ===
  
''axisName:'' Is a string expression. This string specifies the name of the axis which must for the frequency diagram.
+
createFrequenceDiagram(''axisName'')
  
===Return type===
+
=== Arguments  ===
  
''number'': Id of the added diagram. Diagram id starts from 1 and will increase by one for each time one of the functions createFrequenceDiagram or createCrossDiagram are called. The ids will keep on increasing for the duration of the script
+
''axisName:'' Is a string expression. This string specifies the name of the axis which must for the frequency diagram.  
  
===Examples===
+
=== Return type  ===
  
''number a = createFrequenceDiagram("Q5_SQ_3");''
+
''number'': Id of the added diagram. Diagram id starts from 1 and will increase by one for each time one of the functions createFrequenceDiagram or createCrossDiagram are called. The ids will keep on increasing for the duration of the script
 +
 
 +
=== Examples  ===
 +
 
 +
''number a = createFrequenceDiagram("Q5_SQ_3");''  
 +
 
 +
''print(a);'' //Result: 1
 +
 
 +
''number b = createFrequenceDiagram("Q5_SQ_5");''
 +
 
 +
''print(b);'' //Result: 2
 +
 
 +
{{note}}You have to change axis names in example to axis names of DCS that you're working on.
 +
 
 +
[[Category:Diagram/report_generating_CGScript_functions]]

Latest revision as of 09:40, 28 December 2011



createFrequenceDiagram

Creates a frequency diagram from the axis name specified. A unique id is returned when a diagram is added.

Syntax

createFrequenceDiagram(axisName)

Arguments

axisName: Is a string expression. This string specifies the name of the axis which must for the frequency diagram.

Return type

number: Id of the added diagram. Diagram id starts from 1 and will increase by one for each time one of the functions createFrequenceDiagram or createCrossDiagram are called. The ids will keep on increasing for the duration of the script

Examples

number a = createFrequenceDiagram("Q5_SQ_3");

print(a); //Result: 1

number b = createFrequenceDiagram("Q5_SQ_5");

print(b); //Result: 2

Note Note: You have to change axis names in example to axis names of DCS that you're working on.